Get-EmcXenServerVirtualDiskImage

Gets the virtual disk image (VDI) information from XenServer.

 

Syntax

 

Parameters

-ID <String>

Attributes: Optional, Position: 1

Specifies the virtual disk image (VDI) name or UUID. Wildcards are permitted. It is a positional parameter (position = 1).

 

-XenServer <IXenServer>

Attributes: Optional, Position: named

Specifies the owner XenServer.

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.

 

-StorageRepository <StorageRepository>

Attributes: Optional, Position: named

Specifies the owner storage repository.

 

<CommonParameters>

This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.

 

Examples

-------------- Example 1 --------------

C:\PS>Get-EmcXenServerVirtualDiskImage

This example gets all the virtual disk images (VDI) of all the connected XenServer systems.

 

-------------- Example 2 --------------

C:\PS>$xen = Get-EmcXenServerSystem

C:\PS>Get-EmcXenServerVirtualDiskImage -XenServer $xen

This example gets all the virtual disk images (VDI) of the specified XenServer system.

 

-------------- Example 3 --------------

C:\PS>$sr = Get-EmcXenSeverStorageRepository repository1

C:\PS>Get-EmcXenServerVirtualDiskImage -StorageRepository $sr

This example gets the virtual disk images (VDI) of the specified storage repository.