June 2017
Beginner to intermediate
742 pages
18h 29m
English
Similar to user accounts, there are several methods we can use to create and manage groups:
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: