This is the built-in help made by Microsoft for the command 'Get-TargetPort', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 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.
Returns a TargetPort object associated with a specific port address and connection type.
Get-TargetPort [[-FriendlyName] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-ConnectionType <ConnectionType[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-TargetPort [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-VirtualDisk <CimInstance>] [<CommonParameters>]
Get-TargetPort [-AsJob] [-CimSession <CimSession[]>] [-ConnectionType <ConnectionType[]>] [-PortAddress <String[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-TargetPort [-AsJob] [-CimSession <CimSession[]>] [-TargetPortal <CimInstance>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-TargetPort [-AsJob] [-CimSession <CimSession[]>] [-StorageSubSystem <CimInstance>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-TargetPort [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-UniqueId <String[]>] [<CommonParameters>]
Get-TargetPort [-AsJob] [-CimSession <CimSession[]>] [-MaskingSet <CimInstance>] [-ThrottleLimit <Int32>] [<CommonParameters>]
The Get-TargetPort cmdlet returns a TargetPort object associated with a specific port address and connection type.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=306993
Get-StorageSubsystem
<
EXAMPLE 1
PS C:\> $StorageSubsystem = Get-StorageSubsystem
PS C:\> Get-Targetport -StorageSubsystem $StorageSubsystem
This example returns a list of target ports on the specified storage subsystem.