Get-HypervServer
Gets Hyper-V servers discovered by Veeam Management Pack.
Applies to versions: 8.0, 9.0, 9a
Syntax
Get-HypervServer [-VESServer <Object>] [<CommonParameters>] |
Detailed Description
This cmdlet retrieves the list of Hyper-V servers discovered by Veeam Management Pack. The cmdlet returns a collection of objects that represent Hyper-V servers.
The cmdlet displays the following property values for the returned Hyper-V servers:
Name: server name.
Cluster: name of a cluster that includes the server.
VMM: name of a Virtual Machine Manager Server that manages the server.
Monitored: monitoring state.
Sockets: number of server sockets.
Parameters
-VESServer
Specifies the Virtualization Extensions server. You can pass the following types of values:
- Name of a machine (remote or local) where the Virtualization Extensions Service runs.
Acceptable formats for the input value are: server name (such as "localhost" or "."), IP address (such as "172.15.19.6") and FQDN (such as "localhost.veeam.local").
- Veeam.Psves.VesConnection object.
For more information, type “get-help about_VESServerParameter”.
Description | |
Aliases |
|
Required? | False |
Position? | Named |
Default Value |
|
Accept Pipeline Input? | False |
Accept Wildcard Characters? | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see Microsoft Docs.
Notes
If the -VESServer parameter is not specified, the cmdlet will connect to the Virtualization Extensions Service on the local machine.
Output
The cmdlet returns a collection of Veeam.Psves.HypervServer objects that represent discovered Hyper-V servers.
Example
This command retrieves a list of all Hyper-V servers discovered by the Veeam Management Pack.
Get-HypervServer |