Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell Script to delete all folders in folder "everywhere" called "Temp Astro"

$
0
0

Hello

   I need to find all instances of a folder on a z: drive (it could be in many, many places, under many many folders) and delete its contents of where ever its found ( but leave the folder).  Is this possible?  Can someone please help !!  I will be running the script from a windows 2008 r2 server using powershell.  If I had to do this manual it would take me months


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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