Thursday, January 5, 2017

Disable list of AD Users from a CSV file.



get-content C:\temp\users.csv |get-aduser |set-aduser -enabled $false

No comments:

Post a Comment