How much of a bad idea is it to...
How much of a bad idea is it to develop a Powershell application that generates a custom Powershell script, based on user input through predefined options?
We are a medium ~~(actually not that medium. Probably quite small still. But medium to me!)~~ sized MSP that regularly provides new devices for many different customers that all have different requirements for their needs.
Most of the initial deployments are already automated through MDT, but for a bunch of our customers it is almost impossible to automate certain tasks in the deployment phase. For these situations I developed a Powershell solution that asks a few questions to define what tasks should be processed but I would like to predefine these tasks per customer and have them run automated once the customer abbreviation has been provided.
These tasks are stored in a separate script for each customer, that I have to manually create. Which I'd prefer to automate, since none of my colleagues are comfortable with **writing** anything more than basic Powershell (yet!).
So, is it a bad idea to generate a custom Powershell script - based upon a handful of predefined options that will then automate future customer post-deployment tasks?
*edit;Please feel free to elaborate on your given poll vote in the comments!Keen to share opinions about the matter.*