PowerShell Logo Small

Add-ClusteriSCSITargetServerRole



This is the built-in help made by Microsoft for the command 'Add-ClusteriSCSITargetServerRole', 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.

SYNOPSIS

Creates a highly available iSCSI Target server.

SYNTAX


Add-ClusteriSCSITargetServerRole [[-Name] <String>] [-Cluster <String>] [-IgnoreNetwork <StringCollection>] [-InputObject <PSObject>] [-StaticAddress <StringCollection>]
[-Wait <Int32>] -Storage <StringCollection> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-ClusteriSCSITargetServerRole cmdlet creates a highly available iSCSI Target server.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321011
Get-ClusterResource
New-IscsiServerTarget

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Add-ClusteriSCSITargetServerRole -Storage "Cluster Disk 5"
Name OwnerNode State
---- --------- -----
CLiSCSITarget node1 Online



This example creates a clustered iSCSI Target server using Cluster Disk 5, and assigns a default name.




EXAMPLE 2

PS C:\>Add-ClusteriSCSITargetServerRole -Storage "Cluster Disk 5" -Name MyiSCSITarget
Name OwnerNode State
---- --------- -----
MyiSCSITarget node1 Online



This example creates a clustered iSCSI Target server using Cluster Disk 5, and assigns the name MyiSCSITarget.




EXAMPLE 3

PS C:\>Add-ClusteriSCSITargetServerRole -Storage "Cluster Disk 5" -Wait 0
Name OwnerNode State
---- --------- -----
CLiSCSITarget node1 Pending



This example creates a clustered iSCSI Target server using Cluster Disk 5, and assigns a default name. The cmdlet completes without waiting for all resources to come online.