[Solved] Custom PowerShell scripts
We seam to be finding more and more cases where having a custom PowerShell script run following some of the CloudPanel processes. It would be really good to have the option to have the existing scripts call custom scripts after they run.
One of our cases is, after a Customer is added to have a script run to create additional OU's, fire off an API call to AWS to create a new instance/add some Route 53 entries / Execute some CloudFormation scripts.
Basically allowing us to expand on the existing automation and taking it a step further.
Sorry Jacob, didn't get an alert for your post. Powershell is the easiest here. For the AWS side of things, yes we can do everything via PowerShell. It was more an example however.
Even things like, setting an AD home path at the moment easily possible (from memory), where if we could run a custom PowerShell it could do this. We are trying to restrict the need for admins to have to access the DC's and ADUC and avoid any manual changes.
The 2 locations we would like to have custom scripts:
Creating Companies. These scripts can go and auto create everything we need to bring a customer into service
Creating Users. To create, edit ect anything we want against the users.
For creating customers, it would also be nice to have the ability to add custom flags to the creation window. So we can tick a box for say "has Remote Desktop". Then our custom PowerShell script can see if this is true and then fire off commands to start a new server or what ever.
Hope this all makes sense.
This has been added to the release this week. Documentation can be viewed here: http://kb.knowmoreit.com/how-to/executing-custom-powershell-scripts/