SHARE
TWEET

Untitled

a guest Aug 19th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. get-childitem $Env:SystemDrive\Users\Default\AppData\LocalLow -force | foreach ($_) {remove-item $_.fullname -force -recurse -confirm:$false}
  2. get-childitem $Env:SystemDrive\Users\Default\AppData\Local\Microsoft\Windows -exclude "Shell","WinX" -Force | foreach ($_) {remove-item $_.fullname -force -recurse -confirm:$false}
  3. get-childitem $Env:SystemDrive\Users\Default\AppData\Local\Microsoft -exclude "Windows" -Force | foreach ($_) {remove-item $_.fullname -force -recurse -confirm:$false}
  4. get-childitem $Env:SystemDrive\Users\Default\AppData\Local -exclude "Microsoft" -Force | foreach ($_) {remove-item $_.fullname -force -recurse -confirm:$false}
  5. get-childitem $Env:SystemDrive\Users\Default\AppData\Roaming\Microsoft\Windows -exclude "Start Menu","SendTo" -Force | foreach ($_) {remove-item $_.fullname -force -recurse -confirm:$false}
  6. get-childitem $Env:SystemDrive\Users\Default\AppData\Roaming\Microsoft -exclude "Windows" -Force | foreach ($_) {remove-item $_.fullname -force -recurse -confirm:$false}
  7. get-childitem $Env:SystemDrive\Users\Default\AppData\Roaming -exclude "Microsoft"-Force | foreach ($_) {remove-item $_.fullname -force -recurse -confirm:$false}
  8. Get-ChildItem $Env:SystemDrive\users\default -Filter "*.log*" -Force | Remove-Item -Force
  9. Get-ChildItem $Env:SystemDrive\users\default -Filter "*.blf*" -Force | Remove-Item -Force
  10. Get-ChildItem $Env:SystemDrive\users\default -Filter "*.REGTRANS-MS" -Force | Remove-Item -Force
  11. exit 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top