Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Delete files and folders with Exception

$
0
0

Hi Guys,

I am trying to get a script to

delete files and folders not modified from last 3 days from E:\ disk drive. The

script should run as task scheduler and should not delete files AND folders

with .mn extension. Also, it should exclude E:\WMP folders. I've been looking for the script 

but not able to get one.


Viewing all articles
Browse latest Browse all 15370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>