Private/DataComputer/Get-ComputerNetwork.ps1
function Get-ComputerNetwork { param( $ComputerName = $Env:COMPUTERNAME ) $Data3 = get-WmiObject win32_networkadapter -ComputerName $ComputerName | Select Name, Manufacturer, Description , AdapterType, Speed, MACAddress, NetConnectionID, PNPDeviceID $Data3 = $Data3 | Select Name, Manufacturer, Speed, AdapterType, MACAddress return $Data3 } |