By 5 Ottobre 2018 0 Comments

Active Directory – Sblocco massivo account bloccati

Questo comando Powershell (come amministratore) può essere utilizzato per elencare tutti gli acount bloccati in Active Directory:

PS C:\users\user> import-module ActiveDirectory
PS C:\users\user> Search-ADAccount -LockedOut

per avere un dettaglio maggiore : 

PS C:\users\user> Search-ADAccount -LockedOut -UsersOnly | Select-Object Name, SamAccountName

per sbloccare tutti gli account bloccati in active Directory :

PS C:\Users\utente> import-module ActiveDirectory
PS C:\Users\utente> Search-ADAccount -LockedOut
PS C:\Users\utente> Search-ADAccount -LockedOut | Unlock-ADAccount

L’ultima riga provvede al listato account bloccati e corrispettivo sblocco

Active Directory accounts, unclock all account locked ad, Use PowerShell to Find Locked-Out User Accounts, Search AD for Locked Out User Accounts with PowerShell, Unlock all AD accounts, Unlock accounts, Active Directory Unlock

Posted in: Active Directory

About the Author:

shared on wplocker.com