iSCSI Target 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 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

Add-IscsiVirtualDiskTargetMapping

Assigns a virtual disk to an iSCSI target.

Checkpoint-IscsiVirtualDisk

Creates a virtual disk snapshot.

Convert-IscsiVirtualDisk

Converts an iSCSI virtual disk to a 4K sector aligned advanced virtual disk 1.0 format.

Hinweis

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.

Hinweis

This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet.

Export-IscsiTargetServerConfiguration

Exports an iSCSI Target Server configuration.

Export-IscsiVirtualDiskSnapshot

Exports a snapshot.

Get-IscsiServerTarget

Obtains iSCSI targets and their associated properties.

Get-IscsiTargetServerSetting

Gets the global settings or common configurations for iSCSI targets, virtual disks or snapshots.

Get-IscsiVirtualDisk

Obtains the iSCSI virtual disks and their associated properties.

Get-IscsiVirtualDiskSnapshot

Gets properties of snapshots.

Import-IscsiTargetServerConfiguration

Imports an iSCSI Target Server configuration.

Import-IscsiVirtualDisk

Adds an iSCSI Virtual Disk object using an existing virtual hard disk (VHD) file.

Mount-IscsiVirtualDiskSnapsot

Mounts a snapshot locally.

Hinweis

This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet.

New-IscsiServerTarget

Creates a new iSCSI Target object with the specified name.

New-IscsiVirtualDisk

Creates an iSCSI virtual disk with the specified file path and size.

Remove-IscsiServerTarget

Deletes the specified iSCSI target.

Remove-IscsiVirtualDisk

Deletes a Virtual Disk object, without deleting the virtual hard disk (VHD) file.

Remove-IscsiVirtualDiskSnapshot

Deletes the specified snapshot.

Remove-IscsiVirtualDiskTargetMapping

Removes the assignment between the specified iSCSI virtual disk and the specified iSCSI target.

Resize-IscsiVirtualDisk

Resizes an iSCSI virtual disk.

Restore-IscsiVirtualDisk

Restores an iSCSI virtual disk from a snapshot.

Set-IscsiServerTarget

Modifies settings for the specified iSCSI target.

Set-IscsiTargetServerSetting

Sets the global settings or common configurations for an iSCSI target virtual disk.

Set-IscsiVirtualDisk

Modifies the settings for the specified iSCSI virtual disk.

Set-IscsiVirtualDiskSnapshot

Sets the description for a snapshot.

Stop-IscsiVirtualDiskOperation

Stops a long-running operation in progress on an iSCSI virtual disk.

Hinweis

To list all the cmdlets that are available, use the Get-Command –Module IscsiTarget 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