CmdID / PowerShell / Cmdlets / Get
Get-TargetPort
Returns a TargetPort object associated with a specific port address and connection type. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 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.-ConnectionTypeSpecifies the type of the connection.-FriendlyNameSpecifies a friendly name for a disk.-MaskingSetAccepts a MaskingSet object as input.-PortAddressSpecifies a string containing the port address to query.-StorageSubSystemAccepts a StorageSubsystem object as input.-TargetPortalAccepts a TargetPortal object as input.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UniqueId, -IdSpecifies an ID used to uniquely identify a Disk object in the system.-VirtualDiskAccepts a VirtualDisk object as input.