I want to read the result of get-wmiobject -class win32_printer | Select-Object Name, WorkOffline | where {$_.Name -eq \'printerName\'} command from Powershell
get-wmiobject -class win32_printer | Select-Object Name, WorkOffline | where {$_.Name -eq \'printerName\'}