Powershell DHCP Commands

Get-DhcpServerv4Reservation

Get-DhcpServerv4Lease -ComputerName “<<FQDN OF DHCP SERVER>>” -ScopeId <<SUBNET SCOPE EG 192.6.0.0>> | export-csv
-notype -path c:\tmp\CurrentDHCPLeasesForScope.csv

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.