PowerShell Logo Small

Get-PrinterPort



This is the built-in help made by Microsoft for the command 'Get-PrinterPort', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

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

SYNTAX


Get-PrinterPort [[-Name] <String>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession>] [-ComputerName <String>] [-ThrottleLimit <Int32>]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-PrinterPort cmdlet retrieves a list of printer ports that are installed on the specified computer.


You can use wildcard characters with Get-PrinterPort. You can use Get-PrinterPort in a Windows PowerShell remoting session.


You do not need administrator privileges to use Get-PrinterPort.



<

RELATED LINKS

Add-PrinterPort
Remove-PrinterPort

REMARKS

<

Examples


Example 1: Get a list of printer ports

PS C:\> Get-PrinterPort



This command retrieves a list of all the printer ports installed on the local computer.