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 (270k 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 have taken a look at the below help article for configuring password generation parameters, but I am not sure where to add this as a script in Adaxes admin ... https://www.adaxes.com/help/PasswordGenerationParameters/ Thank you in advance for all the help

asked Jan 11 by Vish539 (310 points)
0 votes
1 answer

We want to get rid off our exchange server and replace it with just Exchange Management Tools (EMT). More details at https://learn.microsoft.com/en-gb/Exchange/ ... account to new "Recipient Management EMT" group to preserve its permissions. Anything else?

asked Mar 30, 2023 by KIT (910 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

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 (50 points)
3,326 questions
3,026 answers
7,727 comments
544,678 users