Get Remote Computer Network configuration

Get-WmiObject -class win32_networkadapterconfiguration -filter “IPEnabled=$true” -ComputerName <computername> | select IPAddress, IPSubnet, DefaultIPGateway, DNSServerSearchOrder, DHCPEnabled

Leave a Reply

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