How To Use Common Active Directory Commands In PowerShell



AskPFEPlat is in the process of a transformation to the new Core Infrastructure and Security TechCommunity, and will be moving by the end of March 2019 to our new home at (hosted at Please bear with us while we are still under construction!

We will continue bringing you the same great content, from the same great contributors, on our new platform. Until then, you can access our new content on either as you do today, or at our new site Please feel free to update your bookmarks accordingly!

Why are we doing this? Simple really; we are looking to expand our team internally in order to provide you even more great content, as well as take on a more proactive role in the future with our readers (more to come on that later)! Since our team encompasses many more roles than Premier Field Engineers these days, we felt it was also time we reflected that initial expansion.

If you have never visited the TechCommunity site, it can be found at On the TechCommunity site, you will find numerous technical communities across many topics, which include discussion areas, along with blog content.

NOTE: In addition to the AskPFEPlat-to-Core Infrastructure and Security transformation, Premier Field Engineers from all technology areas will be working together to expand the TechCommunity site even further, joining together in the technology agnostic Premier Field Engineering TechCommunity (along with Core Infrastructure and Security), which can be found at!

As always, thank you for continuing to read the Core Infrastructure and Security (AskPFEPlat) blog, and we look forward to providing you more great content well into the future!


Hey y’all, Mark here with a quick post that all you PowerShell slackers should check out. Ashley McGlone aka GoateePFE (I’ve seen his goatee in real life and it is magnificent)  has written up a nice little doc to help you finally let go of all your old commands for Active Directory and how to do the exact same thing or better in PowerShell. These old commands are starting to go away. You can already promote a DC using nothing but PowerShell as Greg Jaworski showed you here. So print out this cube sheet and get to learning! You’ve probably dropped a New Year’s Resolution already so add this instead, we wont tell.


Mark “flowing locks PFE” Morowczynski