0 votes

Hello,

It is possible to read values in specuial conatianers like OU=Policies,OU=System,dc=domain? The cmdlet get-ADOrganizationlUnit is not working for this type of object.

Thanks!

by (1.1k points)

1 Answer

0 votes
by (220k points)

Hello,

The thing is that System and Policies are containers, not Organizational Units. As a result, the container distinguished name is CN=Policies,CN=System,DC=domain,DC=com. In PowerShell scripts executed in Adaxes Business Rules, Custom Commands, etc. you can use the $Context.BindToObjectByDN method to bind to the container.

Related questions

0 votes
1 answer

Hi, I have a Business Unit defined based on an LDAP Query which I use to limit the accounts in AD an admin can control. I would also like to limit the scope of the search ... to for the LDAP filter to work on the BU, but having trouble working it out? Thanks,

asked Aug 5, 2014 by dazbo (390 points)
0 votes
1 answer

I want to remove special characters on the onboarding web form for username and mail before clicking Finish. Using a script like on the rule "Before User Creation" seems to to do the change to late and you can not verify the email adress before created.

asked Dec 27, 2021 by joem (20 points)
0 votes
1 answer

We are trying to do a report on weak passwords, but i dont think adaxes is able to?

asked Mar 16 by marcwoollard (40 points)
0 votes
1 answer

I'm would like to understand better how I can use the Containers. I haven't found much in the documentation. For most roles it seems like a place to categorize items. ... probably not) So in general a best practices for containers would be helpful. Thank you

asked Aug 18, 2020 by ComputerHabit (790 points)
0 votes
1 answer

Hi How do we expand the containers/boxes containing members automatically in the new 2018 version ? We are tired of scrolling members and those narrowed lists gives a very bad overview too. - Thanks

asked Oct 4, 2018 by Boxx.dk (2.6k points)
2,740 questions
2,474 answers
6,475 comments
1,373,636 users