Get-EmcHyperVSystem

Gets the list of connected Hyper-V systems.

 

Syntax

 

Parameters

-Id <String>

Attributes: Optional, Position: 1

Specifies the host name, IP address, or global ID. Wildcards are permitted. It is a positional parameter (position = 1).

 

-Silent <SwitchParameter>

Attributes: Optional, Position: named

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

 

-HostDisk <Disk>

Attributes: Required, Position: named

Specifies the ESI host disk object, which you can get from the ESI host system object or by using Get-EmcHostDisk or Find-EmcHostDisk cmdlets.

 

-Volume <Volume>

Attributes: Required, Position: named

Specifies the ESI Volume object, which you can get from the ESI Host System object or by using the Get-EmcHostVolume cmdlet.

 

<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-EmcHyperVSystem

This example gets all the Hyper-V systems.

 

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

C:\PS>Get-EmcHyperVSystem  <HostIpAddress>

This example gets the Hyper-V system with the specified host IP address, which accepts wildcards.

 

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

C:\PS>$Disk = Get-EmcHostDisk -id 4074289894

C:\PS>$Disk

C:\PS>Get-EmcHyperVSystem  -HostDisk $Disk

This example gets the Hyper-V system of the specified disk.

 

-------------- Example 4 --------------

C:\PS>$volume = Get-EmcHostVolume *myvol*

C:\PS>Get-EmcHyperVSystem -Volume $volume

This example gets the Hyper-V system of the specified volume.