Get-VM
Get-VM Name State CPUUsage(%) MemoryAssigned(M) Uptime Status Version ---- ----- ----------- ----------------- ------ ------ ------- Ubuntu 20.04 Running 0 6352 00:22:18.4670000 Operating normally 9.0
Get-VM Name State CPUUsage(%) MemoryAssigned(M) Uptime Status Version ---- ----- ----------- ----------------- ------ ------ ------- Ubuntu 20.04 Off 0 0 00:00:00 Operating normally 9.0 Windows 10 dev environment Running 0 1426 00:39:10.2060000 Operating normally 9.0
Get-VM Get-VM : You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer 'XXXXXXXX'. At line:1 char:1 + Get-VM + 15:19, 3 September 2021 (UTC)~ + CategoryInfo : NotSpecified: (:) [Get-VM], VirtualizationException + FullyQualifiedErrorId : Unspecified,Microsoft.HyperV.PowerShell.Commands.GetVM
See also
Advertising: