![]() ![]() As the name suggests, Enable-ADAccount helps in enabling an AD user, computer, and service account while Disable-ADAccount helps in disabling the account. Microsoft Active Directory PowerShell modules provide two PowerShell cmdlets to perform enable and disable operations against user accounts: Enable-ADAccount and Disable-ADAccount. We will explain how to enable or disable user accounts in bulk in this article. When it comes to enabling or disabling AD user accounts in bulk, PowerShell is the easiest option. ![]() ![]() Similarly, in case you need to collect Operating System version for all domain-joined computers, you can use the Get-ADComputer PowerShell cmdlet. As for an example, if you need to query the Home Folder property for all users in the Active Directory, you will use the Get-ADUser PowerShell cmdlet. Most Active Directory admins like to use PowerShell considering the fact it helps in reducing the time it takes to perform the same operation using GUI tools. Active Directory user accounts can be enabled or disabled in bulk by using Active Directory Users and Computers snap-in and PowerShell. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |