CmdID / PowerShell / Cmdlets / Enable
Enable-VMConsoleSupport
Enables keyboard, video, and mouse for virtual machines. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts that run this cmdlet.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-PassthruIndicates that this cmdlet returns the Microsoft.HyperV.VirtualMachine object that it modifies.-VMSpecifies an array of virtual machines on which this cmdlet enables support for keyboard, video, and mouse.-VMNameSpecifies an array of names of virtual machines on which this cmdlet enables support keyboard, video, and mouse.-WhatIf, -wiShows what would happen if the cmdlet runs.