Monday, 14 February 2011

Enable all users in an OU for Lync

Here is the cmdlet that saves the day.

get-csADuser -OU "OU=Users,OU=myou,dc=mydomain,dc=com" | Enable-CsUser -RegistrarPool pool01.mydomain.com -SipAddressType emailaddress

This will enable all users and use theit primary eamil address as their SIP address.
Hope this helps somone. It helped me.

1 comment:

  1. Andy,

    Didn't know how else to contact you. I've accidentally deleted the comment you left on my blog (Mind of a Helmet Camera Cyclist). I hit the wrong button! Sorry!

    Dave (aka Magnatom)

    ReplyDelete