This is the built-in help made by Microsoft for the command 'New-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.
Creates a new iSCSI Target object with the specified name.
New-IscsiServerTarget [-TargetName] <String> [-ClusterGroupName <String>] [-ComputerName <String>] [-Credential <PSCredential>] [-InitiatorIds <InitiatorId[]>]
[<CommonParameters>]
The New-IscsiServerTarget cmdlet creates a new iSCSI Target object with the specified name. After creating a new iSCSI Target object, the target can be assigned to an iSCSI
initiator, and a virtual disk can be associated with the target.
<
Online Version: http://go.microsoft.com/fwlink/?LinkID=294079
Get-IscsiServerTarget
Remove-IscsiServerTarget
Set-IscsiServerTarget
<
EXAMPLE 1
PS C:\> New-IscsiServerTarget -Targetname "T1"
This example creates a target named T1 on the local server.
EXAMPLE 2
PS C:\> New-IscsiServerTarget -Targetname "T1" -InitiatorId @("IPAddress:10.10.1.1","IPAddress:10.10.1.2")
This example creates a target with the name T1 and assigns it to two initiators, with IP addresses 10.10.1.1 and 10.10.1.2.
EXAMPLE 3
PS C:\> New-IscsiServerTarget -Targetname "T1" -ComputerName "fscluster.contoso.com" -ClusterGroupName "Group1"
This example creates a target with the name T1 in the cluster group named Group1 on the cluster named fscluster.contoso.com.