morshe.blogg.se

Powershell script to disable user accounts
Powershell script to disable user accounts












powershell script to disable user accounts

There are many PowerShell cmdlets provided with Active Directory.

powershell script to disable user accounts

You can use Windows Operating System cmdlets to perform operational tasks such as checking the status of a particular Windows service on multiple computers, checking the list of software installed on Windows computers, and so on.Īnd when it comes to interacting with Active Directory, most Active Directory admins also use PowerShell scripting. Almost all Windows roles and features ship with PowerShell cmdlets. PowerShell is a great scripting tool - it not only helps save you time, it also provides greater flexibility for executing repeated tasks.














Powershell script to disable user accounts