Virtual Remote Networks | Help Desk: (917) 293 2669
Aegis – Useful Cleanup Scripts

Your Technology Partner

Aegis – Useful Cleanup Scripts

Aegis – Useful Cleanup Scripts

These Scripts are written for personal use so feel free to modify contents at your own risk.

 

Delete a particular folder. 

Del ‘\\aegisctxxd054\C$\windows\temp’ -Confirm:$false

Del ‘\\aegisctxxd031\C$\Users\%userprofile%\downloads’ -Confirm:$false

OR: it could be a list of machine as given below. 

Del ‘\\aegisctxxd060\C$\windows\temp’ -Confirm:$false

Del ‘\\aegisctxxd059\C$\windows\temp’ -Confirm:$false

Del ‘\\aegisctxxd058\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd057\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd056\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd055\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd054\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd053\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd052\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd051\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd050\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd049\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd048\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd047\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd046\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd045\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd044\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd043\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd042\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd041\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd040\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd039\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd038\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd037\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd036\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd035\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd034\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd033\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd032\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd031\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd030\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd029\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd028\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd027\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd026\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd025\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd024\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd023\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd022\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd021\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd020\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd019\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd018\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd017\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd016\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd015\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd014\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd013\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd012\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd011\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd010\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd009\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd008\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd007\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd006\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd005\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd004\C$\windows\temp’ -Confirm:$false
Del ‘\\aegisctxxd003\C$\windows\temp’ -Confirm:$false

RoboCopy Folder contents.

robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd002\e$\AEGISSmartDataNet” /e /mir

robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd004\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd005\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd006\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd007\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd008\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd009\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd010\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd011\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd012\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd013\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd014\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd015\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd016\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd017\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd018\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd019\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd020\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd021\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd022\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd023\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd024\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd025\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd026\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd027\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd028\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd029\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd030\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd031\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd032\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd033\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd034\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd035\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd036\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd037\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd038\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd039\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd040\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd041\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd042\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd043\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd044\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd045\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd046\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd047\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd048\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd049\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd050\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd051\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd052\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd053\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd054\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd055\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd056\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd057\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd058\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd059\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd060\e$\AEGISSmartDataNet” /e /mir
robocopy “\\aegisctxxd060\c$\_Scripts\AEGISSmartDataNet” “\\aegisctxxd061\e$\AEGISSmartDataNet” /e /mir

 

 


Share This:

Leave a Reply

Newsletter Signup

Virtual Remote provides cross-platform Mobil Apps,Virtual Servers/Applications,Data Center and Coding solutions. Setting higher standards for VOIP , Cloud technology & Virtual Servers and investing in to highly skilled team for the implementation of customized solutions for our clients.

3 S Hope Street,Los Angeles, CA

Phone : 917 293 2669

info@virtualremote.net