February 15, 2025
Powershell 2.0 get ip address (Windows 2008)
ip_address=(Get-WmiObject
-Class Win32_NetworkAdapterConfiguration
-Filter 'IPEnabled=True').IPAddressLoading comments...
ip_address=(Get-WmiObject
-Class Win32_NetworkAdapterConfiguration
-Filter 'IPEnabled=True').IPAddress