Difference between revisions of "Get-VM"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Get-]]VM | ||
+ | |||
+ | * https://docs.microsoft.com/en-us/powershell/module/hyper-v/get-vm | ||
+ | |||
Get-VM | Get-VM | ||
Line 4: | Line 8: | ||
---- ----- ----------- ----------------- ------ ------ ------- | ---- ----- ----------- ----------------- ------ ------ ------- | ||
Ubuntu 20.04 Running 0 6352 00:22:18.4670000 Operating normally 9.0 | 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 | ||
+ | |||
+ | == Errors == | ||
+ | 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 | ||
+ | |||
+ | |||
+ | Get-VM : Hyper-V encountered an error trying to access an object on computer 'XXXXXXX' because the object was not found. The object might have been deleted. | ||
+ | [[Verify that the Virtual Machine Management service on the computer is running]]. | ||
+ | At line:1 char:1 | ||
+ | + Get-VM | ||
+ | + 10:01, 16 October 2023 (UTC)~ | ||
+ | + CategoryInfo : ObjectNotFound: (:) [Get-VM], VirtualizationException | ||
+ | + FullyQualifiedErrorId : ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.GetVM | ||
== See also == | == See also == | ||
* {{Hyper-V}} | * {{Hyper-V}} | ||
+ | |||
[[Category:Hyper-V]] | [[Category:Hyper-V]] |
Latest revision as of 10:34, 16 October 2023
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
Errors[edit]
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
Get-VM : Hyper-V encountered an error trying to access an object on computer 'XXXXXXX' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running. At line:1 char:1 + Get-VM + 10:01, 16 October 2023 (UTC)~ + CategoryInfo : ObjectNotFound: (:) [Get-VM], VirtualizationException + FullyQualifiedErrorId : ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.GetVM
See also[edit]
Advertising: