A friendly chap called Tomas (who I think is from the Czech Republic) recently asked if its possible to schedule the “Enable disabled users for Lync script” I wrote about here:
http://bohemiangrove.co.uk/lync-2010-disabled-users-enabled-them-on-lync-2010/
Well the answer is yes, basically add //b and take out the pause at the end then go into task scheduler in Windows and set it up:
cd\ cd "c:\Program Files\Microsoft Lync Server 2010\ResKit\LcsSync" wscript //h:cscript //b sidmap.wsf /OU:OU="SIDTEST,OU=Users,OU=Linked Mailboxes,OU=Exchange Users,OU=Users,OU=Newport,OU=Sites,DC=targetgroup,DC=corp,DC=local" /logfile:c:\sipmap.txt
Leave a Reply