Set-SCInternetSCSIHba

Configures iSCSI initiator sessions and logs the initiator on to the iSCSI storage array.

Syntax

Set-SCInternetSCSIHba [-CreateSession] [-InitiatorIP <String>] -InternetSCSIHba <HostInternetSCSIHba>
 [-JobVariable <String>] [-PROTipID <Guid>] [-RunAsynchronously] [-TargetName <StorageEndpoint>]
 -TargetPortal <StorageiSCSIPortal> [<CommonParameters>]
Set-SCInternetSCSIHba [-CreateSession] -InternetSCSIHba <HostInternetSCSIHba> [-JobVariable <String>]
 [-PROTipID <Guid>] [-RunAsynchronously] -StorageArray <StorageArray> [<CommonParameters>]

Description

The Set-SCInternetSCSIHba cmdlet configures the iSCSI initiator on a virtual machine host. Set-InternetSCSIHba also creates persistent connections to the iSCSI storage array either by explicitly specifying the initiator IP, target name, and target portal, or by allowing Virtual Machine Manager (VMM) to automatically create multiple connections to the iSCSI storage array based on subnet matching.

Parameters

-CreateSession

Indicates that an iSCSI session is created.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InitiatorIP

Specifies an IP address for the iSCSI initiator.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InternetSCSIHba

Specifies an instance of an iSCSI initiator on a host.

Type:HostInternetSCSIHba
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageArray

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.

Type:StorageArray
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetName

Specifies the name for an iSCSI storage array target.

Type:StorageEndpoint
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetPortal

Specifies an iSCSI storage array target portal object.

Type:StorageiSCSIPortal
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

HostInternetSCSIHBA

This cmdlet returns a **HostInternetSCSIHBA** object.