Skip to content

Latest commit

 

History

History
77 lines (55 loc) · 1.54 KB

Enable-VMEventing.md

File metadata and controls

77 lines (55 loc) · 1.54 KB
external help file Module Name online version schema
Hyper-V_Cmdlets.xml
Hyper-V
2.0.0

Enable-VMEventing

SYNOPSIS

Enables virtual machine eventing.

SYNTAX

Enable-VMEventing [-ComputerName <String[]>] [-Force]

DESCRIPTION

The Enable-VMEventing cmdlet enables virtual machine eventing. Virtual machine eventing keeps Hyper-V PowerShell objects updated without polling the virtual machine host. Virtual machine eventing is enabled by default.

EXAMPLES

Example 1

PS C:\>Enable-VMEventing -Force

Enables virtual machine eventing, suppressing the confirmation prompt.

PARAMETERS

-ComputerName

Specifies one or more Hyper-V hosts on which virtual machine eventing is to be enabled. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer - use "localhost" or a dot (".") to specify the local computer explicitly.

Type: String[]
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

Specifies that the confirmation prompt is to be suppressed. (This is useful in scripting the cmdlet.)

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES

RELATED LINKS