Do you consolidate your automation, or do you spread it out amongst many small scripts?

Just a generic question for you folks out there, let’s say that you want to automate tasks or actions involving user creation. Do you automate it so that you’ve got a single script that goes through a process for creating users, or do you split it out into smaller scheduled scripts that each do a single, specialized thing? For instance, one script that creates users, one that assigns them O365 licenses, one that assigns them security groups, etc. Or do you put it all into a single script with various functions etc, such as a “Create user” function, “Security groups” function?

Ultimately, does it matter much either way? Obviously if you’re pulling from some sort of API to get your variables for user creation, putting it into a single script makes sense. Just wondering what everyone’s thoughts are, and experiences are etc.

submitted by /u/Marquis77
[link] [comments]

Leave a Reply