0 votes

I'm trying to understand the best approach to use when developing scripts for Adaxes. In the Management console you can't see the details of an object while coding.

What I'd like to do is figure out the best way to mimic the Context of an object and possibly be able to see its contents and so on. Being able to mimic the %attrib% would be nice as well but I figured that would be replaced after developing something based on a single object.

For Context of a User I'd think a Get-ADMUser might do the trick but its also possible there are additional attributes I don't see.

Thanks in advance for your advice.

by (790 points)
0

As I learn in the Mangement Console I've noticed that $Context.LogMessage seems useful for testing and viewing output.

Would this be the recommended way of reviewing script details?

1 Answer

0 votes
by (294k points)

Hello,

If you need to output specific values (e.g. values of object properties) in your scripts, using the $Context.LogMessage method is the best way. If that is not what you are trying to achieve, please, specify the desired behavior in all the possible details with live examples.

Related questions

0 votes
1 answer

Hello, I have 2 questions. 1. We are in the process of migrating from one AD forest to a new AD Forest. During this migration user accounts will be copied to ... can test in there with out impacting production. Does our existing license cover this? thanks.

asked Nov 1, 2018 by DFassett (710 points)
0 votes
0 answers

Now that our adaxes system is in use and active I am trying to figure out how to fix 'bugs' in my scripts and develop new scripts / workflow on a live system without causing ... production? I am curious as to how other customers do this ... Thanks. - Scott W.

asked Aug 11, 2014 by hms.scott (220 points)
0 votes
1 answer

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.

asked Sep 5 by P-Sysadmin (20 points)
0 votes
1 answer

Hello, We're just getting started evaluating Adaxes and I'm wondering if it's possible to use a custom script to generate user passwords. In my org, we've been ... password for this user." $Password = Read-Host "Enter Initial Password" } return $Password }

asked Jun 24 by raymondap (50 points)
0 votes
1 answer

Hello Adaxes Support, I couldn't find a script to enable MessageCopyForSentAsEnabled for a shared mailbox, do you have a script for me to do that?

asked May 22 by dominik.stawny (280 points)
3,589 questions
3,278 answers
8,303 comments
548,155 users