![]() ![]() Combine that documentation with some sample PowerShell scripts on StackOverflow and you can see where my script was derived, I just simplified it a little: The bulk of the work for this was amazingly already documented by Microsoft. ![]() Since I wanted to put this into an MDT task sequence, I also wanted to wait until the process was done. It turns out that the process is fairly simple: Set registry values to say what you want to clean up and then launch CLEANMGR.EXE with the right command line options. I’ve seen a variety of blogs over the years that talk about how to do this, but I never took the time to actually try it myself. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |