iSCSI Cmdlets in Windows PowerShell
Windows PowerShell® ist eine aufgabenbasierte Befehlszeilenshell- und Skriptsprache, die speziell für die Systemverwaltung entwickelt wurde. Dieses Referenzthema für IT-Profis bietet Unterstützung beim Einsatz von Windows PowerShell-Cmdlets, um Skripts für Aufgaben zu erstellen und sie zu automatisieren.
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 |
---|---|
Establishes a connection between the local iSCSI initiator, and the specified iSCSI target device. |
|
Disconnects sessions to the specified iSCSI target object. |
|
Gets information about connected iSCSI initiator connections. |
|
Retrieves information about established iSCSI sessions. |
|
Returns an iSCSI target object for each iSCSI target that is registered with the iSCSI initiator. |
|
Gives the list of target portals which have been set for discovery. |
|
Configures an iSCSI target portal. |
|
Registers an active iSCSI session to be persistent using the session identifier as input. |
|
Removes the specified iSCSI target portal. |
|
Sets a CHAP secret key for use with iSCSI initiator connections. |
|
Removes an active iSCSI session from being persistent using the session identifier as input. |
|
Refreshes the information about connected iSCSI target objects. |
|
Updates information about the specified iSCSI target portal. |
Hinweis
To list all the cmdlets that are available, use the Get-Command -Module iSCSI
cmdlet.
Um weitere Informationen zur Syntax beliebiger Cmdlets zu erhalten, verwenden Sie das Get-Help
<Cmdlet-Name>-Cmdlet, wobei <Cmdlet-Name> der Name des Cmdlets ist, zu dem Sie Informationen wünschen. Um ausführlichere Informationen zu erhalten, können Sie die folgenden Cmdlets ausführen:
● Get-Help
<Cmdlet-Name> -Detailed
● Get-Help
<Cmdlet-Name> -Examples
● Get-Help
<Cmdlet-Name> -Full
Hinweis
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:
-