Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficePrinterCapability

Module
PSWriteOffice
Inputs
System.String
Outputs
OfficeIMO.Workflows.PdfPrinterCapabilities

Reports the media, paper sources, duplex, color, resolution and copy capabilities of a printer queue or IPP printer. Requires PowerShell 7.4 or newer.

Syntax

Get-OfficePrinterCapability
[-Name] <String>
[<CommonParameters>]
#
Parameter set: Default

Description

Name accepts an installed queue name or an ipp:// or ipps:// printer URI. Reading capabilities does not change printer settings.

Examples

Read the capabilities of a queue and of an IPP printer.

Get-OfficePrinterCapability -Name 'Office printer'
Get-OfficePrinterCapability -Name 'ipp://printer.local/ipp/print'

Parameters

-Name String requiredposition: 0pipeline: True (ByPropertyName)
Printer queue name or IPP printer URI.

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.