Sha256: bb02cc4795b60b5f3336fea6734db4b1088c736fbcd5f1347940b562ef31183b
Contents?: true
Size: 398 Bytes
Versions: 64
Compression:
Stored size: 398 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
64 entries across 57 versions & 8 rubygems