CmdID / PowerShell / Cmdlets / Set
Set-VMSecurity
Configures security settings for a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 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 run the cmdlet.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies a user account that has permission to perform this action.-EncryptStateAndVmMigrationTrafficIndicates that this cmdlet enables encryption of virtual machine state and migration traffic.-PassthruReturns an object representing the item with which you are working.-VMSpecifies an array of virtual machines.-VMNameSpecifies an array of virtual machine names.-VirtualizationBasedSecurityOptOutSpecifies whether to opt the virtual machine out of virtualization-based security.-WhatIf, -wiShows what would happen if the cmdlet runs.