0 votes

Hello @All,

I'm working on serveral scheduled tasks and business rules.
I have a custom database connection (MySQL) with username and password in the script/scheduled task.

My question:
Is this possible that I define a systemwide variable for the username and password, so I can reuse it in the script/scheduled tasks?

Has anyone a hint about that?
Arne

by (360 points)

1 Answer

0 votes
by (294k points)

Hello Arne,

Unfortunately, there is no possibility to have a global variable that will be used in multiple scripts.

Related questions

0 votes
1 answer

Hi there, we have some custom commands that need the enter-pssession with -sshtransport which is only available in PWSH7. Is it supported to install powershell7 right on the adaxes server? Kind regards, Constantin

asked Mar 3, 2022 by Constey (190 points)
0 votes
1 answer

Hello We are currently using IBM Identity Manger, but it's very expensive solution and really an overkill compared to our needs. Wonder if any have experience replacing a "real" IDM system with Adaxes ?

asked Jun 11, 2015 by Boxx.dk (2.6k points)
0 votes
1 answer

Im looking for a way to set a global variable that can be called across multiple powershell scripts

asked Jun 11 by Keonip (180 points)
0 votes
1 answer

I have made a deprovision custom command. I cannot change the attribute directReports, so was thinking - i could take the people in the directReports field of the manager ... (and its subordinates) that im running the deprovision custom command from. Any tips?

asked Mar 21 by EdgarsABG (110 points)
0 votes
1 answer

Occationally Service Desk staff need to clear a DNS record when a desktop has been reimaged but is keeping the same name as loses the ability to manage its original DNS ... running in ADAXES. Can I just install the applet on the ADAXES server using powershell?

asked Jan 17, 2023 by stevehalvorson (110 points)
3,589 questions
3,278 answers
8,303 comments
548,122 users