CmdID / PowerShell / Cmdlets / Get
Get-PrinterPort
Retrieves a list of printer ports installed on the specified computer. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ComputerName, -CNSpecifies the name of the computer from which to retrieve the list of printer ports.-NameSpecifies the name of the printer port about which to retrieve information.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.