PowerShell Logo Small

Get-IscsiVirtualDisk



This is the built-in help made by Microsoft for the command 'Get-IscsiVirtualDisk', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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.

SYNOPSIS

Obtains the iSCSI virtual disks and their associated properties.

SYNTAX


Get-IscsiVirtualDisk [[-Path] <String>] [-ClusterGroupName <String>] [-ComputerName <String>] [-Credential <PSCredential>] [<CommonParameters>]
Get-IscsiVirtualDisk [-ClusterGroupName <String>] [-ComputerName <String>] [-Credential <PSCredential>] [-InitiatorId <InitiatorId>] [<CommonParameters>]
Get-IscsiVirtualDisk [-ClusterGroupName <String>] [-ComputerName <String>] [-Credential <PSCredential>] [-TargetName <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-IscsiVirtualDisk cmdlet obtains the iSCSI virtual disks and their associated properties.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294075
Checkpoint-IscsiVirtualDisk
Convert-IscsiVirtualDisk
Import-IscsiVirtualDisk
New-IscsiVirtualDisk
Remove-IscsiVirtualDisk
Restore-IscsiVirtualDisk
Set-IscsiVirtualDisk

REMARKS

<

Examples


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.vhdx"



This example gets the virtual disk object with the path E:\temp\test.vhdx on the local server.




EXAMPLE 3

PS C:\> Get-IscsiVirtualDisk –Path "E:\temp\test.vhdx" -ComputerName "fscluster.contoso.com" -ClusterGroupName "target1Group"



This example gets the Virtual Disk object with the path E:\temp\test.vhdx 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.