0%

0/1 Lessons

Course Introduction

• 1min

0 / 1 lessons complete

Getting Started with Active Directory Domain Services

• 52min

0 / 6 lessons complete

Introduction to Active Directory Users & Computers

• 1hr 27min

0 / 10 lessons complete

Adding a Second Domain Controller

• 1hr 31min

0 / 7 lessons complete

Active Directory Backups

• 1hr 24min

0 / 5 lessons complete

How to Administrate Active Directory with Windows PowerShell

• 1hr 58min

0 / 7 lessons complete

Administrating AD SS (Active Directory Sites and Services)

• 1hr 3min

0 / 5 lessons complete

Active Directory Trusts

• 54min

0 / 5 lessons complete

Modifying the Active Directory Schema

• 43min

0 / 3 lessons complete

Course Conclusion

• 2min

0 / 1 lessons complete

Lab: ADUC PowerShell Automation

Instructions

Q&A (0)

Notes (0)

Resources (0)

Saving Progress...

Resources

There are no resources for this lesson.

Notes can be saved and accessed anywhere in the course. They also double as bookmarks so you can quickly review important lesson material.

Create note

3.7 3 votes
Lesson Rating
Subscribe
Notify of
profile avatar
34 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

profile avatar
Eric Gonzales(@eric-gonzales)
Member
2 years ago

The .CSV file’s OU is pointing to Instructor Paul. Must update the OU path within the .CSV file.

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  Eric Gonzales
2 years ago

Thank you profile avatar Eric Gonzales for posting.
We will be updating the file.

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  Eric Gonzales
2 years ago

The CSV file on the Desktop has been updated to match the OU path.
Thanks for the feedback.

profile avatar
jamese(@jamese)
Member
2 years ago

I’m trying the PowerShell lab and the first question about “Set PowerShell Script Execution Policy to Unrestricted” is already set to “Not Configured” in both places. Am I missing something???

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  jamese
2 years ago

Hi profile avatar James Estrella
It is just to practice setting the execution policy to something other than not configured.
Ricardo.

profile avatar
jamese(@jamese)
Member
2 years ago

My “Hello World” Script is running even when saved to the C Drive

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  jamese
2 years ago

That’s ok, you can execute any other scripts if you like in the lab.

profile avatar
jamese(@jamese)
Member
2 years ago

The first ? in the lab. My “Turn on Script Execution” is set to Not configured on both. Is there something I’m missing??

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  jamese
2 years ago

No, there’s nothing you’re missing profile avatar James Estrella that’s how it is in the lab.

profile avatar
nathans2(@nathans2)
Member
Reply to  Ricardo P
2 years ago

It happened to me too. When you open the Lab in the AD “Turn on Script Execution” is already set to “Not configured” on both computer and user configuration therefore it defeats the lab practice question which ask the student to again set them to “Not Configured’. I think the Lab should have “enabled/disabled” it so that we (students) can set them to “Not Configured” in order to get our score.

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  nathans2
2 years ago

Hi profile avatar Nathan Sackey

That’s correct, we missed that part. We have updated the lab to reflect them as configured when doing rsop.msc. Check it out again and do let us know if you have any issues with it.

Ricardo

profile avatar
victoriav(@victoriav)
Member
2 years ago

how to install rsop.msc?

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  victoriav
2 years ago

Hi profile avatar Victoria Vyedina

rsop.msc is part of the Windows server operating system. It should show up if you type in the search box rsop.msc.

profile avatar
pavelz(@pavelz)
Member
2 years ago

Hello. I can’t access the lab — no connection can be established. Can you please help?

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  pavelz
2 years ago

Hi profile avatar Pavel Zarva

We have checked the lab and seem to be online. Can you try again? If you have an issue please post a screenshot.

Ricardo

profile avatar
jjmm(@kelmend-pellumbi)
Member
2 years ago

Hello
The first task, Set PowerShell Script Execution Policy to Unrestricted, I follow the instructions (rsop.msc, etc) but after clicking on administrative templates then clicking on Windows Components, there isn’t a PowerShell choice, only a windows update

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  jjmm
2 years ago

Hi profile avatar Jjmm

We have seen your comment and have updated the lab to reflect the changes in rsop.msc. Please try it again and do let us know if you have any issues.

Ricardo

profile avatar
josem4(@josem4)
Member
1 year ago
  1. ADUC PowerShell Automation Use this lab to practice your Active Directory Users and Computers automation skills with Windows PowerShell. Set PowerShell Script Execution Policy to Unrestricted List AD Users with a PowerShell script in 2 lines of code and save to C:\Users\Administrator\Desktop\ListUsers.ps1 Write a PowerShell Script to Create AD User Accounts from a CSV file located on the Desktop and save to C:\Users\Administrator\Desktop\CreateUsers.ps1 Disable some user accounts using Active Directory Users and Computers Use PowerShell to move those users to a disabled users OU Open IT Lab
  2. [
  3. 6:00 AM
  4. ]
  5. I have tried to complete this lab multiple times but righ now I am having trouble with the BOLDED section above. I have try multiple times and I think that I am doing everything right. It appears to me that I have follow all steps but I can not get a green on the lab tester.
profile avatar
Ricardo P(@ricardop)
Admin
Reply to  josem4
1 year ago

Hi profile avatar Jose Mattey

In this step, the task is to create a new PowerShell script based on the Creating User Accounts lesson from a CSV (Comma Separated Value) File. The CSV file to use is the one on the desktop. The new script should be stored on C:\Users\Administrator\Desktop\ with the name of CreateUsers.ps1. The step also checks the file size to be 1100KB or less.
In summary, the evaluation script checks for the name and location of the ps1 file and if it is less than 1100KB.

Let us know if there’s any issue with this step to review it.

Ricardo

profile avatar
aarons3(@aarons3)
Member
1 year ago

Not sure what Im doing wrong. On the first lab task I created the ListUsers.ps1…put it in the correct place and it worked. Continued to tell me that it wasnt created in the correct place.Not really sure what I did. Had some other people look at it and they thought everything looked correct. Any tricks Im missing?

profile avatar
Ricardo P(@ricardop)
Admin
Reply to  aarons3
1 year ago

Hi profile avatar Aaron Salazar

The first evaluation step is looking for the ListUsers.ps1 file script under C:\Users\Administrator\Desktop\. It doesn’t matter the case but should be named ListUsers.ps1, otherwise the evaluation fails. Also, it can fail if it has an extension like ListUsers.ps1.txt in case the extension is hidden by the OS it might be misleading and show ListUsers.ps1.

Ricardo

profile avatar
Yusef(@mister-lewis)