How To Manage Active Directory Groups With PowerShell

Active Directory groups are a simple but very powerfully source of control for any Windows admin. They make our life a lot easier as admins and are a greate target for scripting and automation with PowerShell.

In this topic we look at what can be done with PowerShell to Create, Update and Remove Active Directory groups. We explore cmdlets like New-ADGroup for creating the group. We look at cmdlets like Add-ADGroupMember and Remove-ADGroupMember for updating the membership of the group. By the end we should have all we need to control and create Active Directory groups in PowerShell.

Prerequisites include: You will need the ‘ActiveDirectory’ module installed and loaded.