Configures iSCSI initiator sessions and logs the initiator on to the iSCSI storage array.
Description
The Set-InternetSCSIHBA cmdlet configures the iSCSI initiator on a virtual machine host. Set-InternetSCSIHBA also creates persistent connections to the iSCSI storage array by either explicitly specifying the initiator IP, target name, and target portal or by allowing System Center Virtual Machine Manager (VMM) to automatically create multiple connections to the iSCSI storage array based on subnet matching.
For more information about Set-InternetSCSIHBA, type: "Get-Help Set-InternetSCSIHBA -online".
Parameters
CreateSession
Required?
true
Accept Pipeline Input?
false
Position?
named
Indicates that an iSCSI session will be created.
InternetSCSIHba
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies an instance of an iSCSI initiator on a host.
TargetPortal
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies an iSCSI storage array target portal object.
InitiatorIP
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies an IP address for the iSCSI initiator.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
TargetName
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the name for an iSCSI storage array target.
CreateSession
Required?
true
Accept Pipeline Input?
false
Position?
named
Indicates that an iSCSI session will be created.
InternetSCSIHba
Required?
true
Accept Pipeline Input?
false
Position?
named
Specifies an instance of an iSCSI initiator on a host.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
StorageArray
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a storage array object, This can be a Fibre Channel or iSCSI storage sub-system that is used to store virtual machine configuration and virtual disks.