Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficePrinter

Module PSWriteOffice
Inputs
None
Outputs
OfficeIMO.Workflows.PdfPrinterInfo OfficeIMO.Workflows.PdfPaperSourceInfo

Lists system printer queues, or the paper sources of a named queue. Requires PowerShell 7.4 or newer.

Syntax

Get-OfficePrinter [-PaperSources <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

Discover queues and trays.

Get-OfficePrinter
Get-OfficePrinter -PaperSources 'Office printer'

Parameters

-PaperSources String optional
Named printer whose paper sources should be listed.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.