iSCSI Cmdlets in Windows PowerShell

Windows PowerShell® は、特にシステム管理用に設計された、タスク ベースのコマンド ライン シェルおよびスクリプト言語です。情報技術 (IT) プロフェッショナル向けのこの参照トピックは、スクリプトを作成してタスクを自動化するために Windows PowerShell コマンドレットを活用するうえでのサポートとなります。

iSCSI Initiator

This reference provides cmdlet descriptions and syntax for all iSCSI Initiator-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

cmdlet Description

Connect-IscsiTarget

Establishes a connection between the local iSCSI initiator, and the specified iSCSI target device.

Disconnect-IscsiTarget

Disconnects sessions to the specified iSCSI target object.

Get-IscsiConnection

Gets information about connected iSCSI initiator connections.

Get-IscsiSession

Retrieves information about established iSCSI sessions.

Get-IscsiTarget

Returns an iSCSI target object for each iSCSI target that is registered with the iSCSI initiator.

Get-IscsiTargetPortal

Gives the list of target portals which have been set for discovery.

New-IscsiTargetPortal

Configures an iSCSI target portal.

Register-IscsiSession

Registers an active iSCSI session to be persistent using the session identifier as input.

Remove-IscsiTargetPortal

Removes the specified iSCSI target portal.

Set-IscsiChapSecret

Sets a CHAP secret key for use with iSCSI initiator connections.

Unregister-IscsiSession

Removes an active iSCSI session from being persistent using the session identifier as input.

Update-IscsiTarget

Refreshes the information about connected iSCSI target objects.

Update-IscsiTargetPortal

Updates information about the specified iSCSI target portal.

注意

To list all the cmdlets that are available, use the Get-Command -Module iSCSI cmdlet.

任意のコマンドレットの詳細について、またはコマンドレットの構文の詳細については、Get-Help <コマンドレット名> コマンドレットを使用します。ここで、<コマンドレット名> は、調べようとするコマンドレットの名前です。詳細については、次のコマンドレットを実行できます。

Get-Help <コマンドレット名> -Detailed
Get-Help <コマンドレット名> -Examples
Get-Help <コマンドレット名> -Full

注意

To produce a complete help list, use the following cmdlet:
Get-Command –Module iSCSI | Sort-Object –Property Name | Get-Help –Full | Out-File

More Information

For more information about the cmdlets, see the following:

-