Well... I hope I can fully explain what I want to do.

I am getting ready to deploy a LCS (Live Communication Server) and want to add a SIP address to all my user objects in the AD Domain.

From some previous posts, I have found how to read the objects details, specifically the SIP address of a User.

Code:

$objSystemInfo = CreateObject("ADSystemInfo")
$strAuthDistinguishedName = "LDAP://" + $objSystemInfo.UserName
$UserObj = GetObject($strAuthDistinguishedName)


? "LCS SIP IM Address: " + $UserObj.Get("msRTCSIP-PrimaryUserAddress")
Sleep 10



However, I was wondering if it's even possible to WRITE the address if it's blank?

Any thoughts, comments would be great.

Thanks,
Chris