Book Image

Active Directory with PowerShell

By : Pamarthi Venkata Sitaram, YELLAPRAGADA U PADMAVATHI
5 (1)
Book Image

Active Directory with PowerShell

5 (1)
By: Pamarthi Venkata Sitaram, YELLAPRAGADA U PADMAVATHI

Overview of this book

Table of Contents (16 chapters)
Active Directory with PowerShell
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 groups and their memberships.

What is a group? A group is a collection of different Active Directory objects such as user accounts, computer accounts, and groups. Active Directory groups are basically categorized into two types: Security groups...