Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Define the term "investments."

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago