Anthony K O365
asked on
Script needed to provision new Lync 2013 user
I'm looking for PS script that will enable me to provision a user simply by typing in his username. I would like to navigate to a folder containing the PS cmd> which has the PS script, then type in something like .\Enable-CsUser.ps1 <username> This script should then set the -RegistrarPool, and -SipAddress properties for the user.
Any thoughts?
Any thoughts?
ASKER
Amit,
Thanks for getting back so soon. I'm very family with enable-Csuser cmdlet. However, my goal is to be able to simply type in a username or SamAccountName and have it auto-populate the -RegistrarPool and -SipAddress properties.
Thanks again.
Thanks for getting back so soon. I'm very family with enable-Csuser cmdlet. However, my goal is to be able to simply type in a username or SamAccountName and have it auto-populate the -RegistrarPool and -SipAddress properties.
Thanks again.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm not wanting to use a csv file. Just want to enable one user at a time as need arises. Can you provide an example?
ASKER
I can use this as a guide, but still helpful. Thank you!
Enable-CsUser -Identity "Username" -RegistrarPool "abc-lync-2013.xyz.com" -SipAddressType SamAccountName -SipDomain xyz.com