[Script Of Nov. 25] How to delete the "Windows.old" folder in Windows 8

image

Nov.

25

image

image

Script Download:   
The script is available for download from https://gallery.technet.microsoft.com//How-to-delete-the-f362d9ad.  You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.

This script shows how to delete the "Windows.old" folder in Windows 8.

Assume that you perform a refresh of Windows 8, an upgrade to Windows 8, a custom installation of Windows 8 without formatting the drive, or install Windows 8 on the same partition of a previous Windows installation. In this situation, you may have a "C:\Windows.old" folder left over after your new installation. This folder contains a copy of the previous Windows 8 installation, and can be very large. If users do not have to have this folder, they can use a script to delete the folder.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery