0 votes

In a business rule, I'd like to pass Adaxes variables into a powershell script that I'll run.

For example, pass %username% into the script so it can be used inside the script.

by (20 points)

1 Answer

0 votes
by (292k points)

Hello,

All you need to do is wrap value references into double quotes. Then you can use them in your scripts as strings. The following article (specifically section Value references in scripts) should be helpful: https://www.adaxes.com/help/ValueReferences.

Related questions

0 votes
1 answer

I'm in the process of creating a Web interface for requesting IT accounts. Upon submission, I want to run a Powershell script that will create an item in a Sharepoint task list.

asked May 14, 2021 by sandramnc (870 points)
0 votes
0 answers

Trying to configure a custom launcher in Thycotic Secret Server that will launch Adaxes on the user's local machine with the username and password passed as parameters. Has anyone made this work?

asked May 20, 2022 by amillard (20 points)
0 votes
1 answer

When running a PowerShell script as an action in a custom command, you can set the script to run as a different account and then use the RunAs property in the ... Is there another way to get the Adaxes service account's credentials from within the script?

asked Mar 31, 2022 by KelseaIT (320 points)
0 votes
1 answer

I had a script that would copy the values from adm-CustomAttributeTextMultiValue1 and save them into extensionAttribute15 as a comma seperated list. The script somehow got deleted and I can't seem to find the tutorial I used to create it before.

asked Jul 1, 2022 by jordan (110 points)
0 votes
1 answer

Hi, in our Create User action we have setup a custom binary attribute to upload the staff picture. Is there a way to save the uploaded image to a network share and rename ... out how to save the uploaded image to the share with proper file name. Thank you.

asked Apr 29, 2021 by TJ_Umredkar (140 points)
3,572 questions
3,261 answers
8,277 comments
547,996 users