CmdID / PowerShell / Cmdlets / Get
Get-VMSecurity
Gets security information about a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 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.-CredentialSpecifies a user account that has permission to perform this action.-VMSpecifies one or more virtual machines for which this cmdlet gets security settings.-VMNameSpecifies the name of one or more virtual machines for which this cmdlet gets security settings.