$out = Get-WmiObject -class Win32_PerfFormattedData_Tcpip_NetworkInterface |
select name , BytesTotalPersec
$out.popup("Network status",0,"Done",0x1)
Error : Method invocation failed because [Selected.System.Management.ManagementObject] does not contain a method named 'popup'. At line:2 char:1 + $out.popup("Network status",0,"Done",0x1) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (popup:String) [], RuntimeException + FullyQualifiedErrorId : MethodNotFound