r/PowerShell • • Jul 29 '19

Automation 🙂

Post image
401 Upvotes

60 comments sorted by

View all comments

37

u/[deleted] Jul 29 '19

Me every day.

If ya gotta do it more than twice it deserves automation.

25

u/ipreferanothername Jul 29 '19

our boss was worried about changing DNS settings on windows servers... 'i already scripted it, just say when'

he shouts: "stop scripting everything!" - he was kidding. me and another guy will automate the bejesus out of anything we can.

11

u/[deleted] Jul 29 '19

My manager explicitly told me not to automate new user creation.

I mean, I did anyway. But he was very clear that I was to not.

4

u/ipreferanothername Jul 29 '19

man, this place...so we have a thing that builds new users off new employees in peoplesoft. its old but it works dandy. new users from requests? they do it manually, inconsistently. we have tools that the team can use to build out a template...but they havent. they are turrible.

0

u/[deleted] Jul 29 '19

[deleted]

1

u/ipreferanothername Jul 30 '19

I have offered to help them update their processes, but I cannot just inject myself into their work like that. there is an identity team that deals with user accounts and groups. i mean, i guess technically i could...but i could also technically automate that team out of a job for the most part, i am pretty sure.

but that part isnt my job right now.

1

u/somewhat_pragmatic Jul 30 '19

Make a report script that shows every time they screw up a manual process. Just because the automation has a manual component, and just because that component is useless and forced on you, doesn't mean you can't name and shame the deviations automatically.

Nah, you'll make enemies calling people out on their stupidity.

Instead write your automation to ingest the results of their manual process and validate them. Have the automation generate a communication back to them asking them for a valid value for each field that is screwed up. Put all of this automation between them and you. Who cares how many back-and-forth transactions it takes them to get it right, by the time your automation hands it to you its good enough to execute on.

1

u/[deleted] Jul 29 '19

Small company I'm guessing?

1

u/[deleted] Jul 29 '19

Not really. But the reason to not script was that the process would be changing "soon" so it would just have to be redone.