0 votes

Hello,

Is it possible to have a variable or custom field that I could use and reference from multiple PowerShell scripts? For example, I want to have two custom commands, each runs a separate PowerShell script, but I want to call them both as part of a single scheduled task. I would like to be able to leverage a field or variable that I could write output of the first custom command script to and retrieve it from the second custom command script. It could be something system wide or maybe local to the scheduled task?

Thanks!
Ryan

by (920 points)

1 Answer

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

Hello Ryan,

Unfortunately, there is no such possibility. However, thank you for the suggestion. We will consider it.

Related questions

0 votes
1 answer

First off I have to say that Adaxes is really extraordinary and has been such a massive help to delegate a lot of the day-to-day AD management across mutiple untrusted forests. ... how it functions under the hood, and a lot of SDK documentation left to read.

asked Sep 27, 2023 by McMyers183 (20 points)
0 votes
1 answer

I have a number of custom Powershell scripts that add users to Teams, groups, etc. I re-use these scripts dozens of times for different conditions and only change one ... possible to convert this script to a custom command and pass parameters to it instead?

asked Dec 16 by cwyant-hfg (40 points)
0 votes
0 answers

I have an issue in a custom command that I need a workaround for. In step 1, a Modify User command is used to change the User Principal Name of the account. Farther ... use the new value, or can I declare a new calculated variable that contains the new UPN?

asked Jul 17 by jmatthews (190 points)
0 votes
0 answers

I made a custom command that executes a powershell script, if you run the script from the adaxes console, then everything works, but if you run the command from the web interface ... the script, you can see that the value is empty. Am I doing something wrong?

asked Nov 18, 2022 by Alvares (100 points)
0 votes
1 answer

I would like to have the possibility to use different icons for AD groups. I have groups for file permissions, applications, mailboxes, etc. For each group type I ... do this without schema extension? or will this be possible in the future? regards pudong

asked May 6, 2022 by pudong (680 points)
3,589 questions
3,278 answers
8,303 comments
548,115 users