Forum Discussion

Jamal1245's avatar
Jamal1245
Copper Contributor
Jun 01, 2020
Solved

unable to use inputobject in get-printjob

I need a way to see if a printer object on a remote computer has a printjob stuck to it.  I found out out "get-printjob" command from https://docs.microsoft.com/en-us/powershell/module/printmanageme...
  • Manfred101's avatar
    Jun 02, 2020

    Jamal1245 It looks like the documentation is not up-to-date. Inputobject is not a valid parameter anymore. You need to replace it with -PrinterObject. See the snippet below:

    $printer = Get-Printer "Canon MP550 series Printer"
    Get-PrintJob -PrinterObject $printer

    Good Luck!

     

    Manfred de Laat

Resources