CmdID / PowerShell / Cmdlets / Get
Get-VM
Gets the virtual machines from one or more Hyper-V hosts. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ClusterObjectSpecifies the cluster resource or cluster group of the virtual machine to be retrieved.-ComputerNameSpecifies one or more Hyper-V hosts from which virtual machines are to be retrieved.-CredentialSpecifies one or more user accounts that have permission to perform this action.-IdSpecifies the identifier of the virtual machine to be retrieved.-Name, -VMNameSpecifies the name of the virtual machine to be retrieved.