When there is no more space
- Compress folders to Save Storage Space
1
2Invoke-WmiMethod -Path "Win32_Directory.Name='C:\Test'" -Name compress
Command line
1echo Uninstall all previous versions of components
2DISM.exe /online /Cleanup-Image /StartComponentCleanup
3
4echo Remove files needed for uninstallation of service packs BUT It NOT be able to uninstall any currently installed service packs after.
5DISM.exe /online /Cleanup-Image /SPSuperseded
6
7
8echo remove all old versions of every component BUT It NOT be able to uninstall any currently installed service packs after.
9DISM.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
Comments