5 lines
192 B
PowerShell
5 lines
192 B
PowerShell
Get-VM | ForEach-Object {
|
|
$VMName = $_.Name
|
|
$CheckpointCount = (Get-VMCheckpoint -VMName $VMName).Count
|
|
Write-Host "$VMName - Checkpoints: $CheckpointCount, Status: $($_.Status)"
|
|
} |