Quantcast
Channel: Lync 2010 and OCS - Address Book and User Replicator forum
Viewing all articles
Browse latest Browse all 347

Replace User msRTCSIP-GroupingID attribute with the OU ObjectGUID

$
0
0

Hello!

I am trying to create a script that will replace the users msRTCSIP-GroupingID attribute with the OU ObjectGUID

Can anyone help with this

Get-ADUser -Filter * -SearchBase "OU=Test,OU=Tenants,DC=Mayernetworks,DC=COM"
$OUobjectGUID = get-ADOrganizationalUnit -filter * -searchbase "ou=test,ou=tenants,dc=mayernetworks,dc=com" | ft ObjectGUID
Set-ADUser $Accounts -Add @{"msRTCSIP-GroupingID"=$OUobjectGUID}

i'm getting the argument is null error


bradley Wyatt


Viewing all articles
Browse latest Browse all 347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>