X

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.

Karim Buzdar: About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various websites.
X

Headline

You can control the ways in which we improve and personalize your experience. Please choose whether you wish to allow the following:

Privacy Settings