CmdID / PowerShell / Cmdlets / Enable
Enable-VMEventing
Enables virtual machine eventing. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-CimSession-ComputerNameSpecifies one or more Hyper-V hosts on which virtual machine eventing is to be enabled.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-Credential-ForceSpecifies that the confirmation prompt is to be suppressed.-WhatIf, -wiShows what would happen if the cmdlet runs.