The Get-HyperVClusterSharedVirtualDisks
command provides information about machines protected on the local Core.
Usage
The usage for the command is as follows:
Get-HyperVClusterSharedVirtualDisks -protectedserver [name | IP address] -shareddisk [shared virtual disk name (path)]
Command Options
The following table describes the options available for the Get-HyperVClusterSharedVirtualDisks
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password.
If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a log on.
If none are provided, then the logged-on user's credentials will be used. |
-protectedserver |
This option shows all of the shared virtual disks for a specific protected cluster. |
-shareddisk |
The name of a specific shared disk. |
Example:
Retrieve a collection of all shared disks:
>Get-HyperVClusterSharedVirtualDisks -protectedserver "HV-2012R2" -shareddisk "Shared Disk 1"