Disk Cleaner PowerShell Script



Disk Cleaner PowerShell Script

Disk Cleaner PowerShell Script

1. Download zip file from here: https://github.com/jimrtyler/diskcleaner and extract.
2. Run PowerShell as Administrator
3. Run command Set-ExecutionPolicy Unrestricted
4. Run command cd C:users[[your_username]]Downloadsdiskcleaner
5. Run command .DiskCleaner.ps1
6. Wait for it to load initially (it takes a minute to scan files)
7. Select Drive
8. Click Clean Disk Button

GitHub: https://github.com/jimrtyler/diskcleaner
Substack: https://jimtyler.substack.com
Website: http://powershellengineer.com
Twitter: http://twitter.com/jimrtyler
Facebook: https://facebook.com/CoachJimTyler
Instagram: https://www.instagram.com/coachjimtyler/
TikTok: https://www.tiktok.com/@coachjimtyler

PowerShell is a registered trademark of Microsoft. I don’t represent Microsoft, the PowerShell team at Microsoft, or any of my past or current employers. All views and opinions are mine and mine alone. Every effort has been made to ensure that this video contains current and accurate information regarding its subject matter. However, I am not liable for any loss or damage suffered by viewers due to any information contained herein.

Comments are closed.