Custom PowerShell scripts  

  RSS

4way Solutions
Eminent Member
Joined:3 years  ago
Posts: 28
2017-03-10 10:53  

Hey,

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.

Thanks
Chris


ReplyQuote
Jacob Dixon
Honorable Member Admin
Joined:3 years  ago
Posts: 663
2017-03-10 10:56  

It currently is on the books and also creating additional organization units in the company OU is added by default in the next big release (couple months).

Can you do all of that with powershell that you are wanting?


ReplyQuote
4way Solutions
Eminent Member
Joined:3 years  ago
Posts: 28
2017-05-02 09:19  

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.


ReplyQuote
  
Working

Please Login or Register