PowerShell Logo Small

Resume-PrintJob



This is the built-in help made by Microsoft for the command 'Resume-PrintJob', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Resumes a suspended print job.

SYNTAX


Resume-PrintJob [-ID] <UInt32> [-PrinterName] <String> [-AsJob] [-CimSession <CimSession[]>] [-ComputerName <String>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Resume-PrintJob [-InputObject] <CimInstance> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Resume-PrintJob [-PrinterObject] <CimInstance> [-ID] <UInt32> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Resume-PrintJob cmdlet resumes a suspended print job on the specified printer. The Resume-PrintJob cmdlet has no effect if any print job is running.


You can specify the print job to resume by specifying the PrinterName and ID parameters, by specifying the printer object and job ID parameter, or by specifying the print
job object as an input.


You cannot use wildcard characters with Resume-PrintJob.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=289477
Get-PrintJob
Remove-PrintJob
Restart-PrintJob
Suspend-PrintJob

REMARKS

<

Examples


Example 1: Resume a suspended print job

PS C:\> Resume-PrintJob - PrinterName "PrinterName" -ID 1



This command resumes the print job with an ID of 1, which was suspended on the printer named PrinterName.




Example 2: Resume a print job using a printer object and job ID

PS C:\>$printer = Get-Printer -PrinterName "PrinterName"


PS C:\>Resume-PrintJob -PrinterObject $printer -ID 1



This set of commands retrieves a printer object into a variable ($printer) using Get-Printer, and then passes the contents of the variable to Resume-PrintJob to resume the
print job with an ID of 1 on the printer contained in the printer object.




Example 3: Resume a print job using a job object

PS C:\>$printJob = Get-PrintJob - PrinterName "PrinterName" -ID 1


PS C:\>Resume-PrintJob -InputObject $printJob



This set of commands retrieves the print job with an ID of 1 into a variable ($printJob) using Get-PrintJob, and then passes the contents of the variable to Resume-PrintJob
to resume the print job on a printer by using a print job object.