Short background... I have a series of PowerShell scripts that provision a new user. Our provisioning process lives within Solaris/php. Currently I’m checking a folder for the presents of a file. If that file is present then I query a web service requesting the list of users requiring an account. Create the accounts, mailboxes, and anything else Microsoft related. Finally reporting back the status of the whole sha-bang.
Our current solution is secure but inefficient. I would like to set up shop on a socket and wait for notification that an account needs action. I originally got this idea from Bruce's book and the web server written entirely in posh. Does anyone know of another example doing something like this?
My desired end state is to have a service that listen's for requests. That service (written in posh) can only have enough privileges to start a scheduled task that will kick off the whole process.
Feel free to point out a better way to accomplish my end goal. My main problem is that our ARS system (not quest) sucks, and takes upwards of 45 min to create a windows account. In an attempt to alleviate the load this places on my tier 2 guy's. I generated the above, but need it to be as secure and bulletproof as our current system.
Thanks
~Glenn