Get Active Directory and Azure Users by Department PowerShell

preview_player
Показать описание
Learn how to get Active Directory and Azure Users by department using PowerShell.

For Active Directory Domain Services I'll use the Get-ADUser command to get users by department.

For Azure Active Directory I'll use the Get-MgUser command.

Examples in this video:

1. Get all users and their department attribute.
2. Search for users in a specific department.
3. Get a count of users in each department.

Blog post with commands:

How to use the Get-MgUser command:

Active Directory GUI Reporting Tool:

Active Directory Blog
Рекомендации по теме
Комментарии
Автор

great video, im on a project of creating a backup script that filter each user by departament and i think that this will be so usefull

netoxss