Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

take action on folders

$
0
0

hi all,

I've been learning PowerShell for a few weeks only and now, I need to build my first real script and I realized I'm lost.

hahaha!

I would like to be directed to the solution, please do not make the script for me. I would never learn if you would :-)

I need to browse the users folders and see if some file is present in a sub-folder. I was able to get the folders, but I got stuck there. how can I loop through the folders, check if the fie is present, delete it and jump to the next folder?

thank you!


Viewing all articles
Browse latest Browse all 6937

Trending Articles