This is the built-in help made by Microsoft for the command 'Get-IscsiVirtualDisk', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Obtains the iSCSI virtual disks and their associated properties.
Get-IscsiVirtualDisk [[-Path] <String>] [-ClusterGroupName <String>] [-ComputerName <String>] [<CommonParameters>]
Get-IscsiVirtualDisk [-ClusterGroupName <String>] [-ComputerName <String>] [-InitiatorId <InitiatorId>] [<CommonParameters>]
Get-IscsiVirtualDisk [-ClusterGroupName <String>] [-ComputerName <String>] [-TargetName <String>] [<CommonParameters>]
The Get-IscsiVirtualDisk cmdlet obtains the iSCSI virtual disks and their associated properties.
<
<
EXAMPLE 1
PS C:\> Get-IscsiVirtualDisk
This example gets all of the virtual disks on the local server.
EXAMPLE 2
PS C:\> Get-IscsiVirtualDisk –Path "E:\temp\test.vhd"
This example gets the virtual disk object with the path E:\temp\test.vhd on the local server.
EXAMPLE 3
PS C:\> Get-IscsiVirtualDisk –Path "E:\temp\test.vhd" -ComputerName "fscluster.contoso.com" -ClusterGroupName "target1Group"
This example gets the Virtual Disk object with the path E:\temp\test.vhd in the resource group named target1Group on cluster server named
fscluster.contoso.com.
EXAMPLE 4
PS C:\> Get-IscsiVirtualDisk -TargetName "TargetOne"
This example gets all of the virtual disks that are associated with the target named TargetOne on the local server.
EXAMPLE 5
PS C:\> Get-IscsiVirtualDisk -InitiatorId "IpAddress:10.10.1.1"
This example gets all of the virtual disks on the local server that are used by the initiator with IP address 10.10.1.1.