Case File: The Checkpoints That Fill the Disk
The storage of the Hyper-V host is almost full because somebody takes a checkpoint before every change and never removes it. At a simulated PowerShell prompt, list the checkpoints with Get-VMSnapshot (age and size), remove the ones older than 30 days with Where-Object and Remove-VMSnapshot, keep the recent ones and the one that is marked keep- (the way back from an upgrade), and check the free storage with Get-VMHost. The checks read the state of the host: removing everything, or ignoring the keep- name, fails.
Case File: The Checkpoints That Fill the Disk
The storage of the Hyper-V host is almost full because somebody takes a checkpoint before every change and never removes it. At a simulated PowerShell prompt, list the checkpoints with Get-VMSnapshot (age and size), remove the ones older than 30 days with Where-Object and Remove-VMSnapshot, keep the recent ones and the one that is marked keep- (the way back from an upgrade), and check the free storage with Get-VMHost. The checks read the state of the host: removing everything, or ignoring the keep- name, fails.
In this lesson:
- hyper-v
- powershell
- checkpoints
- storage
- console
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans