CmdID

CmdID / PowerShell / Cmdlets / Set

Set-VMKeyProtector

Configures a key protector for a virtual machine. Windows Server PowerShell reference

From the Windows Server PowerShell reference 11 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

11 in the Windows Server PowerShell reference
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ComputerNameSpecifies one or more Hyper-V hosts to run the cmdlet.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies a user account that has permission to perform this action.
-KeyProtectorSpecifies the key protector to use for the virtual machine.
-NewLocalKeyProtectorSpecifies that this cmdlet generates a new local key protector.
-PassthruReturns an object representing the item with which you are working.
-RestoreLastKnownGoodKeyProtectorIndicates that this cmdlet restores the last known good key protector.
-VMSpecifies one or more virtual machines for which to set a key protector.
-VMNameSpecifies the name of one or more virtual machines for which to set a key protector.
-WhatIf, -wiShows what would happen if the cmdlet runs.