https://github.com/davidande/auto-defrag-and-optimize-upd
Powershell scipt to auto defrag and optimize VHDX
https://github.com/davidande/auto-defrag-and-optimize-upd
optimize powershell rds upd vhd vhdx
Last synced: about 1 year ago
JSON representation
Powershell scipt to auto defrag and optimize VHDX
- Host: GitHub
- URL: https://github.com/davidande/auto-defrag-and-optimize-upd
- Owner: davidande
- Created: 2024-12-18T13:05:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-16T10:25:28.000Z (about 1 year ago)
- Last Synced: 2025-05-16T11:29:40.790Z (about 1 year ago)
- Topics: optimize, powershell, rds, upd, vhd, vhdx
- Language: PowerShell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AUTO-DEFRAG-AND-OPTIMIZE-UPD
Powershell scipt to auto defrag and optimize VHDX
This script do:
- Check if Windows feature Microsoft-Hyper-V-Management-PowerShell is installed
- Install the feature if necessary
- List all the VHDX disks (not attached) from a path (variable)
- Exclude some VHDX not needed (variable)
- Mount, Defrag and Optimize if fragmented level is high (variable)