Creating new users from SQL server changes?
Maybe I am looking at this the wrong way, not having much luck finding an answer.
Currently HR inputs new users/terminations into their excel document, and manually email out the changes. I can then create a new user if I see it, or wait for the helpdesk ticket to come in. I am hoping we can start automating this by creating a sql database, with some sort of input form for them to use. Have a SQL job scheduled to run daily at 6PM, email out changes to the Personnel Action Notification distribution group and if there are hires with the title "security guard" I'd want it to launch my newsecurityguard.ps1 passing the first name, last name, and badge number fields to $firstname, $lastname and $badgenumber variables.
Would like to build on that as well, so if there is a new hire with the title of Call Center Agent, it kicks off the callcenteragent.ps1 script, etc.
Is this the way you would do it?
7 comments · 100% upvoted · other discussions
You are basically defining an identity manager, of which there are many of the shelf solutions available on the market.