Difference between revisions of "Get-VM"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[Get-]]VM
 +
 
* https://docs.microsoft.com/en-us/powershell/module/hyper-v/get-vm
 
* https://docs.microsoft.com/en-us/powershell/module/hyper-v/get-vm
  
Line 24: Line 26:
 
   
 
   
  
  Get-VM : Hyper-V encountered an error trying to access an object on computer 'XXXXXXX' because the object  
+
  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.
was not found. The object might have been deleted.
+
  [[Verify that the Virtual Machine Management service on the computer is running]].
  Verify that the Virtual Machine Management service on the computer is running.
 
 
  At line:1 char:1
 
  At line:1 char:1
 
  + Get-VM
 
  + Get-VM

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: