Find-InactiveUsers.ps1 added new example to disable users
This commit is contained in:
@@ -39,6 +39,10 @@
|
||||
.\Find-InactiveUsers.ps1 | Export-Csv -Path .\Export_InactiveUsers.csv -NoTypeInformation -Encoding UTF8
|
||||
Exportuje všechny neaktivní uživatele v Active Directory do CSV.
|
||||
|
||||
.EXAMPLE
|
||||
.\Find-InactiveUsers.ps1 | Set-ADUser -Enabled $false
|
||||
Deaktivuje všechny neaktivní uživatele v Active Directory.
|
||||
|
||||
.NOTES
|
||||
Autor: Petr Štěpán
|
||||
Datum vytvoření: 20.10.2024
|
||||
|
||||
Reference in New Issue
Block a user