iSCSI Target Cmdlets in Windows PowerShell
Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.
iSCSI target service
This reference provides cmdlet descriptions and syntax for all iSCSI target service-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.
Cmdlet | Description |
---|---|
Assigns a virtual disk to an iSCSI target. |
|
Creates a virtual disk snapshot. |
|
Converts an iSCSI virtual disk to a 4K sector aligned advanced virtual disk 1.0 format. Notes This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet. |
|
Dismount-IscsiVirtualDiskSnapsot |
Dismounts a snapshot. Notes This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet. |
Exports an iSCSI Target Server configuration. |
|
Exports a snapshot. |
|
Obtains iSCSI targets and their associated properties. |
|
Gets the global settings or common configurations for iSCSI targets, virtual disks or snapshots. |
|
Obtains the iSCSI virtual disks and their associated properties. |
|
Gets properties of snapshots. |
|
Imports an iSCSI Target Server configuration. |
|
Adds an iSCSI Virtual Disk object using an existing virtual hard disk (VHD) file. |
|
Mount-IscsiVirtualDiskSnapsot |
Mounts a snapshot locally. Notes This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet. |
Creates a new iSCSI Target object with the specified name. |
|
Creates an iSCSI virtual disk with the specified file path and size. |
|
Deletes the specified iSCSI target. |
|
Deletes a Virtual Disk object, without deleting the virtual hard disk (VHD) file. |
|
Deletes the specified snapshot. |
|
Removes the assignment between the specified iSCSI virtual disk and the specified iSCSI target. |
|
Resizes an iSCSI virtual disk. |
|
Restores an iSCSI virtual disk from a snapshot. |
|
Modifies settings for the specified iSCSI target. |
|
Sets the global settings or common configurations for an iSCSI target virtual disk. |
|
Modifies the settings for the specified iSCSI virtual disk. |
|
Sets the description for a snapshot. |
|
Stops a long-running operation in progress on an iSCSI virtual disk. |
Notes
To list all the cmdlets that are available, use the Get-Command –Module IscsiTarget
cmdlet.
Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help
<nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :
● Get-Help
<nom de l’applet de commande> -Detailed
● Get-Help
<nom de l’applet de commande> -Examples
● Get-Help
<nom de l’applet de commande> -Full