Mastering Windows PowerShell

T22 Bend R2's Active Directory to Your Will

August 23rd, 2012

4:15pm - 5:30pm

Mark Minasi

IT Consultant, Author, Speaker


Most of us who have to manage an AD sometimes run into a problem like "I need to disable all accounts that haven't logged on in the past 60 days," only to find that Active Directory Users and Computers doesn't seem to be able to help much there. (It can, actually but you'd have to put on your diving helmet and sink many fathoms into LDAP query-land to get the job done.) So you wonder, "what to do here?," and start talking yourself into solving the problem by hand, click by click. You KNOW a few days of writing a VBScript or two might solve the problem, but that's an awful lot of work so, again, what to do?

Microsoft's given us the answer in their 76 shiny new Active Directory-related PowerShell commands. With a bit of practice, you can glue two or three PowerShell commands into a powerful one-liner that can do what used to take three days and 150 lines of VBScript... even if you've never written a line of code. (Or want to.) Join command-line techofreak Mark Minasi in a quick, clear guide to the PowerShell commands you need -- and how to make them work together. Don't know PowerShell? No problem -- every attendee will leave prepared to create their first "one-liner," even if they've never used PowerShell!

You will learn:

  • Gain comfort and facility with the R2 AD PowerShell cmdlets explained in simple English
  • Walk away with bunches of working examples
  • Demystify PowerShell and its AD module