Heads of IT department may dream of the perfect team where every member can manage requests, changes and incidents in a fast and smart way by using automated scripts improving workflow quality and customers experience. Unfortunately, too many support people still make manual actions to solve issues without giving any clear risks and rollback methods.
I used to say to my team : If you do something twice, then you should have scripted it the first time.. Theory is so different from reality. I know very well that sometimes we don't have enough time or the appropriate knowledge at the right time to script everything.
However, if we don't make the first step, we will never go anywhere.
So let's have a look to the first step right now.
A picture is worth a thousand words
Imagine, today is Monday and you start your on shift week. Your favorite IT ticketing system (ServiceNow, Jira, Octopus etc.) is waiting for you. The first ticket you opened requests you to modify AD users because some names are misspelled.
Action plan :
Name | Login | Tel | |
---|---|---|---|
Jean Robert | jrobert | jrobert@company.com | 123456 |
Marie Curie | mcurie | m_curie@company.com | 456789 |
Calamity Jane | calamity | cjane@company.com | 789123 |
This is a perfect input file for a preCheck function. Now we must wonder : what do we want to check ?
Since we detected two checks, we are going to add two new columns to our output file: AdActiveUser and MailMatch.
Let's do it in Powershell for example.
This first function provides us a new file that we are going to use for the implementation step.
PreCheck provides us this new file.
Name | Login | Tel | AdActiveUser | MailMatch | |
---|---|---|---|---|---|
Jean Robert | jrobert | jrobert@company.com | 123456 | yes | yes |
Marie Curie | mcurie | m_curie@company.com | 456789 | yes | no |
Calamity Jane | calamity | cjane@company.com | 789123 | no | no |