0 votes

We have a number of PowerShell scripts I'd love to expose to normal users simply by adding them as Custom Commands, my problem is they require additional user provided parameters at runtime. It would be very helpful if we were able to create custom forms for Custom Commands to allow users to provide these parameters to the PowerShell script the command is executing.

This functionality would allow us to expose complex PowerShell scripts used for automating many various management workflows for various AD objects without complex PowerShell remoting setups and user training because it would be within the Adaxes software interface with the intuitive GUI and utilise existing Adaxes features regarding PowerShell and Custom Commands.

by (350 points)

1 Answer

0 votes
by (272k points)
selected by
Best answer

Hello,

We have the feature in our Product Backlog. It will be implemented in one of the future releases.

Currently, you can use the workaround described in the following post: Custom Command That Does Not Execute on Object.

0

That post seems to talk about executing a PowerShell script on the current logged in user, I'm talking about providing additional parameters via a form after utilising PowerShell Custom Commands as normal (against selected objects). That post was also from 2012, it was also stated that interactive PowerShells would most likely be a feature in 2013.2, how high of a priority is this feature exactly?

0

Hello,

hat post seems to talk about executing a PowerShell script on the current logged in user

You can give a possibility to select any user, not necessarily the currently logged on one.

I'm talking about providing additional parameters via a form after utilising PowerShell Custom Commands as normal (against selected objects).

We have this feature in our Product Backlog. For now you can use the workaround we provided in the previous post.

That post was also from 2012, it was also stated that interactive PowerShells would most likely be a feature in 2013.2, how high of a priority is this feature exactly?

The feature is at high priority. However, there is no ETA on when it will be available.

Related questions

0 votes
1 answer

Code is below. But the subject says it all. When I run the command targeted in this function via the Adaxes GUI or the web interface, it runs without issue. When run using this ... = $null } } end { $admNS = $admService = $credUser = $credPwd = $null } }

asked Apr 3 by jrtolle (20 points)
0 votes
1 answer

I have tried it using the Custom Commands Action "Add the user to a group", which only allows me to add the user to one group at a time, and can't use the multiple DNs that the ... I can't get it to work. Could you assist me in finding the best way to do this?

asked Jan 16 by dominik.stawny (160 points)
0 votes
1 answer

Hi, during account creation we store a user/requester DN in field adm-CustomAttributeObject2 If now this requester is disabled, I want to find all users in AD ... field. I found some articles and scripts, but nothing working as expected.

asked Feb 27 by wintec01 (1.1k points)
0 votes
1 answer

Hello, I'm trying to automate a workflow to create service accounts, however I'm struggling to find a way to accomplish this. My goal is to create a user that has ... with a custom command instead of the create user action to no avail. Any advice appreciated!

asked Mar 23, 2023 by GronTron (270 points)
0 votes
1 answer

Thanks for the info. I'm now grabbing the %adm-ManagerUserName% value, but need to remove the final 21 characters of it so it contains only their username and not our ... this in the PowerShell Script Editor for my business rule, I get the following error:

asked Mar 11, 2021 by mkvidera (60 points)
3,347 questions
3,048 answers
7,787 comments
545,035 users