This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARS Control in cmdlets

Hello to all,

I cannot figure out the way I can make my ActiveRoles servers talk to a chosen domain controller, when performing actions do through ARS Shell (cmdlets).

The syntax I use seems pretty simple, but it still doesn't work:

# Sets 'description' on furthest domain controller:
Set-QADObject "OU=MyOU,DC=MyDomain,DC=com" -Description "xXx" -Control @{"EDS_CONTROL_LDAP_SERVER"="furthest.mydomain.com"}

# Reads 'description' from the closest domain controller:
(Get-ADOrganizationalUnit "OU=MyOU,DC=MyDomain,DC=com" -Server "furthest.mydomain.com" -properties description).Description

# Reads 'description' from the furthest domain controller:
(Get-ADOrganizationalUnit "OU=MyOU,DC=MyDomain,DC=com" -Server "closest.mydomain.com" -properties description).Description

The command had effect on the objects on the closest domain controller, despite my attempt to write to the furthest...

I'm not sure what I may be missing, here, but it's starting to get frustrating :)

 

Thanks for your support!