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.