Link to home
Start Free TrialLog in
Avatar of timgreen7077
timgreen7077

asked on

Exchange 2010 Console and SIP address

Looking at the exchange management console in 2010 SP3, the SIP address is the same as the primary email address (fname.lname@domain.com), but is there a way to change the SIP address to be the fname.lname@differentdomain.com
example smtp address: joe.doe@home.com, but sip address needs to joe.doe@local.com, is there a way to do this for every user on a mailbox database or OU? Any help would be great and thanks.
Avatar of Qlemo
Qlemo
Flag of Germany image

You want to do that once for each user?
Avatar of timgreen7077
timgreen7077

ASKER

yes once for each user.
ASKER CERTIFIED SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have tried the script and it changes the domain but their is no longer a user name (fname.lname) associated. The SIP address is now "@newdomain.com" instead of "fname.lname@newdomain.com" Is there a way this can be corrected.
Quick mod to Qlemo's (no points for me, I know he'd catch it soon).
Get-ADUser -Filter * -SearchBase 'OU=Test,DC=domain,DC=com' -Properties proxyaddresses |
  % {
    Set-ADUser $_ -Replace @{ProxyAddresses = @($_.proxyaddresses -Replace "SIP:(.*)@domain.com",'SIP:$1@otherdomain.com') }
  }

Open in new window

Damn. I never intended to use double quotes, for exactly that reason :/.