Sales Hotline: 1-800-691-1991 8am - 8pm ET
English
White paper

Managing Active Directory Users and Computers with Windows PowerShell for Windows Server 2008 R2

Adam Bertram, Microsoft Windows PowerShell MVP

Please rate how helpful this article was to you:
4 out of 5 based on 13 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.
Published: August, 2015

Microsoft has released a PowerShell module for managing Active Directory, which lets an admin manage AD from a PowerShell command-line interface. By moving the functionality to the command line, an admin doesn't have to fool with the GUI (Graphical User Interface) anymore. Instead, this allows the admin to write automation around AD. This is a very powerful tool that can save organizations with large AD environments countless man hours managing various AD objects.

Using Windows PowerShell to manage Active Directory objects is an easy way to create, modify and remove common AD objects. If you're new to PowerShell, it may seem a little confusing at first, but the more you use it, the quicker you'll notice how much time you can save. Plus, PowerShell is not just a command prompt replacement, but also a full-featured scripting language that's capable of automating much larger AD tasks.

PowerShell allows you to, in a sense, customize the way you manage AD, rather than being forced to do things the GUI way. Once you're able to grasp the core concepts, you'll be well on your way to developing robust and efficient AD tools written in PowerShell.

In this white paper, you'll be introduced to managing AD using PowerShell.
You'll learn how to:

  • Perform the initial setup
  • Manage common Active Directory objects like user properties, computers, groups members
  • Restore these objects if they're removed
  • And much more!

Microsoft has released a PowerShell module for managing Active Directory, which lets an admin manage AD from a PowerShell command-line interface. By moving the functionality to the command line, an admin doesn't have to fool with the GUI (Graphical User Interface) anymore. Instead, this allows the admin to write automation around AD. This is a very powerful tool that can save organizations with large AD environments countless man hours managing various AD objects.

Using Windows PowerShell to manage Active Directory objects is an easy way to create, modify and remove common AD objects. If you're new to PowerShell, it may seem a little confusing at first, but the more you use it, the quicker you'll notice how much time you can save. Plus, PowerShell is not just a command prompt replacement, but also a full-featured scripting language that's capable of automating much larger AD tasks.

PowerShell allows you to, in a sense, customize the way you manage AD, rather than being forced to do things the GUI way. Once you're able to grasp the core concepts, you'll be well on your way to developing robust and efficient AD tools written in PowerShell.

In this white paper, you'll be introduced to managing AD using PowerShell.
You'll learn how to:

  • Perform the initial setup
  • Manage common Active Directory objects like user properties, computers, groups members
  • Restore these objects if they're removed
  • And much more!
About the Author