Thursday, September 13, 2012

Find Folders Using PowerShell

I my previous post i wrote about “How to search for files using Powershell” .
In this post i am writing about “How to search folders” in Powershell.
The logic and command are almost same ,the only difference is in Files we were using
$_.PSIsContainer -eq $false

and for searching Folders we need to use

$_.PSIsContainer -eq $true

Simple Smile 

You can download the script from this link :

Download Link :

13-09-2012 11-50-20

Aman Dhally
join aman on facebook Join aman on Linkedin follow aman on Twitter

No comments:

Post a Comment