Browse › Microsoft 365 User Control

Can You Manage Users in Microsoft 365 by Using Windows PowerShell?
Part of Microsoft 365 User Control Topic: General Cyber Security
Access
StationX Infrastructure Labs — 3 attempts per lab
🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab
Already have access? Sign in.
New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.
What you'll do
In this lab, you will manage users, groups, and administrative units In Microsoft 365 using Windows PowerShell.
- Use PowerShell to create a new administrative unit
- Use PowerShell to add a new group
- Create two new users via PowerShell
- Assign licenses to each user
- Use PowerShell to add one user to a group and the other to an administrative unit
- Use PowerShell to assign roles
- Use PowerShell to block the second user from logging in
- Create two new users and assign licenses via a small PowerShell script
Note: Once you begin the lab, you will not be able to pause, save, or return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.
- ⏱ About 45 minutes
- Counts towards: Microsoft 365 Administrator (exam MS-102)