Sorry for my question ... I'm a beginner with Active Roles !
I need to get the Name (cn) of a Managed Units in a PowerShell's Script when user use a command and I don't know how to do it ...
Thanks a lot for your help ;)
Are you looking for something along these lines for obtaining the 'cn' value of a Managed Unit using the Active Roles Management Shell?
Get-QADObject -proxy -Identity "<DN value of the managed unit>" -IncludedProperties cn | select cn
Running this will return:
<cn value of the managed unit>