Chapter 3. Working with Active Directory Groups and Memberships

In the previous chapter, you learned about managing user and computer objects using PowerShell. Now let's discuss how to manage Active Directory groups and their memberships.

In this chapter, we will see how to perform the following operations in Active Directory using PowerShell cmdlets:

  • Creating local, global, and universal security groups
  • Searching and modifying group object information
  • Adding group members, user and computer accounts to the security groups
  • Listing members of a security group in Active Directory
  • Removing user or computer accounts from groups
  • Removing a groups from groups
  • Deleting or removing the AD groups

To start with, let's recollect some basic concepts about Active Directory ...

Get Active Directory with PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.