Print Management Cmdlets in Windows PowerShell

Windows PowerShell® は、特にシステム管理用に設計された、タスク ベースのコマンド ライン シェルおよびスクリプト言語です。情報技術 (IT) プロフェッショナル向けのこの参照トピックは、スクリプトを作成してタスクを自動化するために Windows PowerShell コマンドレットを活用するうえでのサポートとなります。

This reference provides cmdlet descriptions and syntax for all print management cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

cmdlet Description

Add-Printer

Adds a printer to the specified computer.

Add-PrinterDriver

Installs a printer driver on the specified computer.

Add-PrinterPort

Installs a printer port on the specified computer.

Get-PrintConfiguration

Gets the configuration information of a printer.

Get-Printer

Retrieves a list of printers installed on a computer.

Get-PrinterDriver

Retrieves the list of printer drivers installed on the specified computer.

Get-PrinterPort

Retrieves a list of printer ports installed on the specified computer.

Get-PrinterProperty

Retrieves printer properties for the specified printer.

Get-PrintJob

Retrieves a list of print jobs in the specified printer.

Read-PrinterNfcTag

Reads information about printers from an NFC tag.

Remove-Printer

Removes a printer from the specified computer.

Remove-PrinterDriver

Deletes printer driver from the specified computer.

Remove-PrinterPort

Removes the specified printer port from the specified computer.

Remove-PrintJob

Removes a print job on the specified printer.

Rename-Printer

Renames the specified printer.

Restart-PrintJob

Restarts a print job on the specified printer.

Resume-PrintJob

Resumes a suspended print job.

Set-PrintConfiguration

Sets the configuration information for the specified printer.

Set-Printer

Updates the configuration of an existing printer.

Set-PrinterProperty

Modifies the printer properties for the specified printer.

Suspend-PrintJob

Suspends a print job on the specified printer.

Write-PrinterNfcTag

Writes printer connection data to an NFC tag.

注意

To list all the cmdlets that are available, use the Get-Command –Module PrintManagement cmdlet.

任意のコマンドレットの詳細について、またはコマンドレットの構文の詳細については、Get-Help <コマンドレット名> コマンドレットを使用します。ここで、<コマンドレット名> は、調べようとするコマンドレットの名前です。詳細については、次のコマンドレットを実行できます。

Get-Help <コマンドレット名> -Detailed
Get-Help <コマンドレット名> -Examples
Get-Help <コマンドレット名> -Full