Anthony K O365
asked on
How to find users already enabled in Lync 2013 Server using CSV or Text file?
I have a CSV or Text file containing usernames. I need to use it in a PS script to see if they are already enabled in Lync Server.
Thank you,
Thank you,
ASKER
Actually, what I'm looking for is to take a list of users from a text or CSV and use it as a filter to see if they are enabled in Lync. Your script simply shows how to export a list of users into a CSV file.
ASKER
How can I use filter below to find users in a text file to see if they are enabled on Lync or not?
Get-CsAdUser –Filter {CsEnabled –eq $False}
Get-CsAdUser –Filter {CsEnabled –eq $False}
The above command will list to you all enable users if you want to run command from Lync Server.
To filter which is enable or not. That based on AD by checking sip address who have sip address is enable.
Also you can run below script
http://blogs.technet.com/b /meacoex/a rchive/201 1/04/24/po wershell-s cript-get- group-memb ers-and-ch eck-for-us ers-that-a re-not-ena bled-for-l ync-and-en able-these -users-usi ng-e-mail- address.as px
To filter which is enable or not. That based on AD by checking sip address who have sip address is enable.
Also you can run below script
http://blogs.technet.com/b
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This script was very helpful.
Thank you!
Thank you!
get-csuser | Select-Object DisplayName, SAMAccountname, SIPAddress >e:\user.csv
user file will be filled with the lync enabled user.
Also you can check below command
http://www.techysnippets.c