Question: Section 2 , Part 2 - Create Security Groups Note: In the next steps, you will use the New - ADGroup command to create Active

Section 2, Part 2- Create Security Groups
Note: In the next steps, you will use the New-ADGroup command to create Active Directory security groups that will be applied to your folders later in this lab. This command will assume that the new group will be added to the Active Directory's Users folder. To add the new group into an Organizational Unit (OU), you will need to specify the -Path parameter in the command.
New-ADGroup -name "groupname" -groupscope Global -path "OU=OUname,DC=securelabsondemand,DC=com"
1. At the Powershell prompt, execute New-ADGroup -name "Students" -groupscope Global -path "OU=Students,DC=securelabsondemand,DC=com" to create the new group Students within the Students OU.
2. At the Powershell prompt, execute Get-ADUser -SearchBase "OU=Students,DC=securelabsondemand,DC=com" -Filter *| ForEach-Object {Add-ADGroupMember -Identity 'Students' -Members $_} to move all existing user accounts in the Students OU into the Students security group in a single command.
Create new group Students and move user accounts
3. Repeat steps 1-2 to create a new group named Faculty inside the Faculty OU and move all existing user accounts in the Faculty OU into the Faculty security group.
4. At the Powershell prompt, execute Get-ADGroupMember -Identity Students | Select Name to list the members of the Students security group.
List members of the Students security group

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!