Yesterday, I had the pleasure to be the host of the Master IT Pro contest !

The purpose of the contest was to “cook” a Powershell script that would achieve the following tasks :

•Provision 500 accounts in Active Directory that are users from the marketing department and 500 accounts that are users from the finance department

•Ensure that any documents on a share containing social security numbers will be encrypted and only users from the finance department can read it.

The participants had one hour to perform the task with some hints given during the competition :)

As for every script, there are several ways to achieve the given goal. here is one way, I’m always open to discussion looking for a better and faster approach to do it !

Automate the creation of the users :

--> Please see the rest on the blog :