Custom PowerShell s…
 
Notifications
Clear all

[Solved] Custom PowerShell scripts

6 Posts
2 Users
0 Reactions
10.8 K Views
Posts: 38
Topic starter
Eminent Member
Joined: 10 years ago

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

5 Replies
Posts: 1600
Admin
Noble Member
Joined: 10 years ago

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?

Reply
1 Reply
Joined: 10 years ago

Eminent Member
Posts: 38

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.

Reply
Posts: 38
Topic starter
Eminent Member
Joined: 10 years ago

Hey Jacob

We are currently running v3.1.1.5. Any chance this feature has been implimneted or is due for release in 3.2?

Thanks
Chris

Reply
1 Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1600

There has been a lot of changes in 3.2 but custom scripts isn’t included yet. We are currently beta testing and making changes to 3.2 right now though.

Reply
Posts: 1600
Admin
Noble Member
Joined: 10 years ago

This has been added to the release this week. Documentation can be viewed here: http://kb.knowmoreit.com/how-to/executing-custom-powershell-scripts/

Reply
Share: