Set-SCInternetSCSIHba

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

Syntax

Set-SCInternetSCSIHba
   -InternetSCSIHba <HostInternetSCSIHba>
   [-CreateSession]
   -StorageArray <StorageArray>
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [<CommonParameters>]
Set-SCInternetSCSIHba
   -InternetSCSIHba <HostInternetSCSIHba>
   [-CreateSession]
   -TargetPortal <StorageiSCSIPortal>
   [-InitiatorIP <String>]
   [-TargetName <StorageEndpoint>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [<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.

Required Parameters

-CreateSession

Indicates that an iSCSI session is created.

Type:SwitchParameter
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
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetPortal

Specifies an iSCSI storage array target portal object.

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

Optional Parameters

-InitiatorIP

Specifies an IP address for the iSCSI initiator.

Type:String
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
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
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
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

HostInternetSCSIHBA

This cmdlet returns a HostInternetSCSIHBA object.