Page 1 of 1

Get-NetAdapterHardwareInfo

Posted: Tue Jan 15, 2019 1:09 pm
by sekou2331
I want to run Get-NetAdapterHardwareInfo accross multiple machines remotely but it seems like it doesnt have the ablity to do so. I am trying to out find which numa is being used for each network card. Is there anyway script wise to run this over 100 machines?

Code: Select all

Get-NetAdapterHardwareInfo | ?{ $_.Name -match "LAN 1" -or $_.Name -match "LAN 2" } | Select-Object Name, NumaNode | Format-list

output
  • Name : LAN 1
    NumaNode : 0

    Name : LAN 2
    NumaNode : 1

Re: Get-NetAdapterHardwareInfo

Posted: Tue Jan 15, 2019 2:00 pm
by jvierra
$s = New-CimSession omega
Get-NetAdapterHardwareInfo -CimSession $s