Enable-Monitoring (Hyper-V)

Enables monitoring of Hyper-V servers.

Applies to versions: 8.0, 9.0, 9a

Syntax

Enable-Monitoring [-HypervServer] <HypervServer> [-Force] [-VESServer <Object>] [<CommonParameters>]

Detailed Description

This cmdlet enables monitoring of Hyper-V servers discovered by Veeam Management Pack.

Parameters

-HypervServer <HypervServer>

Specifies the Hyper-V server that should be included in monitoring.

Tip

To get the list of all discovered Hyper-V servers, use the Get-HypervServer cmdlet.

 

Description

Aliases

 

Required?

True

Position?

1

Default Value

 

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

False

-Force

Specifies whether the confirmation dialog should be suppressed. If the parameter is not specified, the cmdlet will prompt you to confirm the enabling of monitoring for selected clusters and hosts.

Description

Aliases

 

Required?

False

Position?

Named

Default Value

 

Accept Pipeline Input?

False

Accept Wildcard Characters?

False

-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").

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.

Input

The cmdlet accepts the following types of values for the -HypervServer parameter:

Output

The cmdlet does not return any output.

Example

This command enables monitoring for all discovered Hyper-V servers.

Get-HypervServer | Enable-Monitoring