Sha256: 6511b2862663d66bb1fe21bee7e355f8cba765fb97d88ade276420cab67f0e76
Contents?: true
Size: 389 Bytes
Versions: 24
Compression:
Stored size: 389 Bytes
Contents
$adapters = get-ciminstance win32_networkadapter -filter "macaddress is not null" $processed = @() foreach ($adapter in $adapters) { $Processed += new-object PSObject -Property @{ mac_address = $adapter.macaddress net_connection_id = $adapter.netconnectionid interface_index = $adapter.interfaceindex index = $adapter.index } } convertto-json -inputobject $processed
Version data entries
24 entries across 24 versions & 2 rubygems