This is the built-in help made by Microsoft for the command 'Get-IscsiServerTarget', 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.
Obtains iSCSI targets and their associated properties.
Get-IscsiServerTarget [[-TargetName] <String>] [-ClusterGroupName <String>] [-ComputerName <String>] [-Credential <PSCredential>] [<CommonParameters>]
Get-IscsiServerTarget [-ClusterGroupName <String>] [-ComputerName <String>] [-Credential <PSCredential>] [-InitiatorId <InitiatorId>] [<CommonParameters>]
Get-IscsiServerTarget [-ClusterGroupName <String>] [-ComputerName <String>] [-Credential <PSCredential>] [-Path <String>] [<CommonParameters>]
The Get-IscsiServerTarget cmdlet obtains iSCSI targets and their associated properties from the local server or specified computer.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=294073
New-IscsiServerTarget
Remove-IscsiServerTarget
Set-IscsiServerTarget
<
EXAMPLE 1
PS C:\> Get-IscsiServerTarget
This example gets the iSCSI targets on the local server.
EXAMPLE 2
PS C:\> Get-IscsiServerTarget -ComputerName "fs1.contoso.com"
This example gets all of the iSCSI targets on the remote server named fs1.contoso.com.
EXAMPLE 3
PS C:\> Get-IscsiServerTarget -ComputerName "fscluster.contoso.com" -ClusterGroupName "target1group"
This example gets all of the iSCSI targets in the resource group named target1group on the cluster named fscluster.contoso.com.
EXAMPLE 4
PS C:\> Get-IscsiServerTarget -Path "E:\temp\test.vhdx"
This example gets the iSCSI target associated with the VHD with the path "E:\temp\test.vhdx"
EXAMPLE 5
PS C:\> Get-IscsiServerTarget -InitiatorId "DNSName:TargetSvr.Contoso.com"
This example gets all of the iSCSI targets that have been assigned to the initiator with type DNSName, and value TargetSvr.contoso.com.