Skip to Content
Mastering Active Directory
book

Mastering Active Directory

by Dishan Francis
June 2017
Beginner to intermediate
742 pages
18h 29m
English
Packt Publishing
Content preview from Mastering Active Directory

Setting up groups

Similar to user accounts, there are several methods we can use to create and manage groups:

  • Active Directory Administrative Center (ADAC)
  • Active Directory Users and Computers (ADUC) MMC
  • PowerShell cmdlets

In this section, I am going to use PowerShell cmdlets to setup and manage AD groups.

The New-ADGroup cmdlet can be used to add a new group to the AD environment. We can review the full syntax for the command using:

Get-Command New-ADGroup -Syntax

I have a requirement to create a new security group called Sales Team. For the task, I am using the following command:

New-ADGroup -Name "Sales Team" -GroupCategory Security -GroupScope Global -Path "OU=Users,OU=Europe,DC=rebeladmin,DC=com"

In the previous command:

  • -GroupCategory ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Active Directory

Mastering Active Directory

Dishan Francis
Active Directory, 5th Edition

Active Directory, 5th Edition

Brian Desmond, Joe Richards, Robbie Allen, Alistair G. Lowe-Norris

Publisher Resources

ISBN: 9781787289352Supplemental Content