How to Create an Active Directory Global Security Group with PowerShell

I had to create a global security group while I was managing shared mailboxes in Microsoft Exchange Server 2016 with the help of PowerShell. I thought to document it for others.

Create an Active Directory Global Security Group with PowerShell

1. Open PowerShell with administrative privileges.

2. Execute the following command. This is just an example, you can create a security group with actual values replaced.

New-ADGroup “<Group Name>” -GroupScope Global -GroupCategory Security

By default, the global security group will be created in Users container.

3. The last step is to add members to newly created security group.

Add-ADGroupMember “<Group Name>” -Members <user 1>,<user 2>,<user 3>

You are done.