Previous Topic: dpmhv-SetVMVirtFloppy (Cmdlet) Command--Connect a Virtual Floppy Image to the VM Floppy DriveNext Topic: dpmhv-ShowDirectories (Funclet) Command--Show all Directories


dpmhv-ShowClusterSharedVolumes (Funclet) Command--Show all Cluster Shared Volumes

The dpmhv-ShowClusterSharedVolumes command displays all cluster shared volumes on a Hyper-V server.

This command has the following format:

dpmhv-showClusterSharedVolumes 
-host hostname 
[-retval] 
[-silent]
-host hostname

Specifies the name of the Hyper-V server host.

-retval

Returns a value for further processing.

-silent

Specifies not to direct the output to the screen.

Return Value

The dpmhv-ShowClusterSharedValumes command returns the current key and value pair from an array of objects.

Example: Show all Cluster Shared Volumes

This example returns a list of shared volumes on the host, "hvserver."

dpmhv-showClusterSharedVolumes -host hvserver