..
/ Get-VM
Gets the virtual machines from one or more Hyper-V hosts
Functions:
Manage
Type:
Cmdlets
Toolsets:
Builtin
CIMSession
Manage
List VMs
Get-VM -CimSession $s
Usecase
Reconnaissance on VMs running on a Hyper-V server
Comments
Create CimSession
$s
using
New-CimSession
PowerShell Module:
Hyper-V
Updated: 2023-07-01
Contributor: Arris Huijgen (
bitsadmin
)