Using Microsoft's New AD PowerShell Cmdlets

In the past two weeks I have really started playing with the new AD PowerShell cmdlets from Microsoft.  I am really glad these cmdlets are finally here.  I will admit though, to get them working in my lab, it was not easy.  I cant blame this though on the cmdlets themselves, as my problems stemmed…

0

Quick AD Search Example

I was emailing with another instructor tonight and wrote a quick snippet to search AD for an object with a particular SID.  This is quick and way too simple for production, but it just shows how easily you can search AD.  This is with Powershell v1 $searcher = new-object system.directoryservices.directorysearcher $searcher.filter = “(objectsid=S-1-5-21-……)" #clearly a…

0