Quantcast
Channel: Backup – Windows and Windows Server forum
Viewing all articles
Browse latest Browse all 3323

power shell script to delete mulitple files from multiple folders

$
0
0

I'm trying to write a script that searches and deletes files in a particular folder:

\\server\e$\XenProfiles7\%username%\UPM_Profile\AppData\Local\Citrix\AuthManager\Tracing

So the folder is Tracing, but I need the script to search ALL theTracing folders for all users (\\server\e$\XenProfiles7\%username%) then delete only all of the contents of the Tracing folders.

Any pointers would be greatly appreciated

Simon


Viewing all articles
Browse latest Browse all 3323

Trending Articles



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