Find Base DN with Powershell

PS C:\Users> dsquery user -name bind*
“CN=Bind\, UCS,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
“CN=Bind\, cloud,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
“CN=bind\, ise,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
“CN=Bind\, NS,OU=Service Accounts,DC=med,DC=subd,DC=dom,DC=edu”
PS C:\Users>

AstroGrep, grep for Windows

An excellent tool for those in Windows.

Standalone executable too. =)

– Regular expressions
– Concurrent multiple file types
– Recursive directory searching
– A “context” feature that selects the lines above and below your search expression
– Most Recently Used list for search paths
– Somewhat versatile printing options
– Double click to open file with editor of your choice
– Store Most Recently Used file names and search expressions
– Match Whole Word Only
– Syntax highlighing
– Free of charge and Open Source