Powershell script to check Check ProtectedFromAccidentalDeletion status fron input file
Posted on 2013-10-29
We have a script now that will disable peoples user account and moved them to a specific OU based on an input csv file,
An issue we have encountered is that some of our users have ProtectedFromAccidentalDeletion enabled, This then stops them being moved.
Before we run the script to disable I would like a script that will use the same input file and give me the output of the users ProtectedFromAccidentalDeletion status so I can identify the users.