https://docs.microsoft.com/en-us/powershell/module/dhcpserver/?view=windowsserver2022-ps
Get-DhcpServerv4Lease -ComputerName 10.0.58.10 -ScopeId 10.0.8.0 | select Hostname, ClientId, IPAddress | Export-csv -path "filename_$((Get-Date).ToString('MM-dd-yyyy_hh-mm-ss')).csv"
Get-DhcpServerv4Scope -ComputerName 10.0.58.10 | select ScopeId
No comments:
Post a Comment
HARi OM SAi RAM KRiSHNA