Archive

Articles taggués ‘Configuration’

Afficher la configuration IP d’un serveur distant.

Permet d’afficher la configuration IP des cartes actives sur un serveur distant.

?View Code POWERSHELL
Get-WmiObject  -Class "Win32_NetworkAdapterConfiguration"  -ComputerName "server001" | Where-Object {$_.IpEnabled -Match "True"} | Select-Object DNSHostName,DHCPEnabled,IPAddress,IPSubnet,DefaultIPGateway,DNSServerSearchOrder,WINSPrimaryServer,WINSSecondaryServer,MACAddress,DNSDomain,Description
Categories: Windows Tags: , ,