CmdID / PowerShell / Cmdlets / Set
Set-VMSecurityPolicy
Configures the security policy for a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 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 to on which to configure security policy.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that has permission to perform this action.-PassthruReturns an object representing the item with which you are working.-ShieldedConfigures the virtual machine as shielded.-VMSpecifies an array of virtual machine objects.-VMNameSpecifies an array of virtual machine names.-WhatIf, -wiShows what would happen if the cmdlet runs.