Add simple Hyper-V checkpoint status check script
This commit is contained in:
5
HyperVCheck.ps1
Normal file
5
HyperVCheck.ps1
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Get-VM | ForEach-Object {
|
||||||
|
$VMName = $_.Name
|
||||||
|
$CheckpointCount = (Get-VMCheckpoint -VMName $VMName).Count
|
||||||
|
Write-Host "$VMName - Checkpoints: $CheckpointCount, Status: $($_.Status)"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user