79269959

Date: 2024-12-10 22:20:46
Score: 2
Natty:
Report link

Powershell as Admin

$computer = get-content C:\temp\computers.txt Get-WMIObject Win32_NetworkAdapterConfiguration -computername $computer |where{$_.IPEnabled -eq “TRUE”}

Returns this for each host:

DHCPEnabled : False IPAddress : {10.12.31.10, fe80::df00:2718:3685:318b} DefaultIPGateway : {10.12.31.1} DNSDomain : ServiceName : e1i65x64 Description : Intel(R) 82574L Gigabit Network Connection Index : 1

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Alan