GREP in PowerShell

Simple but powerful script to search recursively through a windows directory searching for a string of text.

PS C:\> get-childitem "C:\*" -recurse | select-string -pattern "what your looking for"

Comments

Popular posts from this blog

Change Password in Windows Server 2012

Using WinDBG to Debug SharePoint & Cheatsheet

Modify DataView XSLT to Add Url in Grid to Workflow Initiation Form