
is actually taking up the space so you can work out if you truly want to remove the data. Once we’ve figured out where the folders are, we then need to enumerate each of the files within and remove them.īecause I know that each user’s temp folder is in their profile and all profiles are stored in C:\Users\%UserName%\AppData\Local\Temp, I can enumerate all files in these folders using Get-ChildItem. AppData folders store per-user information for applications. To perform this step, we’ll first need to figure out where all of these folders are.

We’ll start with removing user temporary folder contents.
