The dpmhv-ShowLogicalDisks command displays all logical disks attached to a Windows system. The specified system can be Hyper-V server or a Windows system with remote WMI enabled. This command determines the location of a VM in the Windows file system of a remote Hyper-V server.
This command has the following format:
dpmhv-showLogicalDisks -host hostname [-retval] [-silent] [-detail]
Specifies the name of the host.
Returns a value for further processing.
Specifies not to direct the output to the screen.
(Optional) Displays the details of the list of logical disks.
The dpmhv-ShowLogicalDisks command returns an array of objects which represents the logical disk attached to a specified host.
The following properties are returned in regular mode:
The following properties are returned in detail mode:
Example: Show all Logical Disks
This example returns the list of logical disks attached to the host.
dpmhv-showLogicalDisks -host hvserver
Copyright © 2013 CA. All rights reserved. |
|