Set-SCInternetSCSIHba

Set-SCInternetSCSIHba

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

構文

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

Parameter Set: CreateSessionArray
Set-SCInternetSCSIHba -CreateSession -InternetSCSIHba <HostInternetSCSIHba> -StorageArray <StorageArray> [-JobVariable <String> ] [-PROTipID <Guid]> ] [-RunAsynchronously] [ <CommonParameters>]

詳細説明

The Set-SCInternetSCSIHba cmdlet configures the iSCSI initiator on a virtual machine host. Set-SCInternetSCSIHba also creates persistent connections to the iSCSI storage array by either 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.

パラメーター

-CreateSession

Indicates that an iSCSI session is created.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InitiatorIP<String>

Specifies an IP address for the iSCSI initiator.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InternetSCSIHba<HostInternetSCSIHba>

Specifies an instance of an iSCSI initiator on a host.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-JobVariable<String>

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

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-PROTipID<Guid]>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-RunAsynchronously

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

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-StorageArray<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.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-TargetName<StorageEndpoint>

Specifies the name for an iSCSI storage array target.

エイリアス

none

必須?

false

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-TargetPortal<StorageiSCSIPortal>

Specifies an iSCSI storage array target portal object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • HostInternetSCSIHBA

関連トピック

Get-SCStorageArray

Get-SCVMHost