Thursday, September 13, 2012

Find Folders Using PowerShell

lHi,
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 : http://gallery.technet.microsoft.com/scriptcenter/Search-and-Find-Folders-af9c86ad

13-09-2012 11-50-20



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

No comments:

Post a Comment