Monday, September 10, 2018

Clear Users Recycle Bin


Oftentimes, during our on call periods we get paged about system drives being full. Usually, this is related to very large user recycle bins. Well, this will help clear those out:


Get-ChildItem -Path 'C:\$Recycle.Bin\[GUID]' -Force | Remove-Item -Recurse

No comments:

Post a Comment