Export (0) Print
Expand All

Microsoft iSCSI Software Target Cmdlets in Windows PowerShell

This reference provides cmdlet descriptions and syntax for all iSCSI-specific PowerShell cmdlets used in Microsoft iSCSI Software Target 3.3. The iSCSI PowerShell cmdlets provide an alternative to tasks that you would otherwise perform using wizards in the Microsoft iSCSI Software Target snap-in.

For information about using PowerShell in general, see Windows PowerShell and Windows PowerShell (TechNet).

iSCSI PowerShell Cmdlets

The following table lists the Windows PowerShell cmdlets that Microsoft iSCSI Software Target 3.3 provides:

Cmdlet Description

Add-VirtualDiskTargetMapping

Assigns a virtual disk to an iSCSI target.

Get-IscsiServerTarget

Obtains the iSCSI targets and their associated properties.

Get-IscsiVirtualDisk

Obtains the iSCSI virtual disks and their associated properties.

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 the specified iSCSI virtual disk.

Remove-VirtualDiskTargetMapping

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

Set-IscsiServerTarget

Modifies the settings for the specified iSCSI target.

Set-IscsiVirtualDisk

Modifies the settings for the specified iSCSI virtual disk.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft