A little follow-up to my earlier post on Populating Users in Office Communicator / LCS. If you want to delete a contact for all users (E.g. for a employee leaving the company) - you can remove the /contactsgroup parameter and instead use the /delete paramater e.g. -
cscript LCSAddContacts.wsf /usersfile:contacts.txt
/contactsfile:delete.txt /delete (Wrapped for readability)
The syntax of the contacts.txt and delete.txt input file is -
sip:jens@inceptio.dk
sip:peter@inceptio.dk
Check my earlier post for further info.
Great scripts autopopulate and this, but how can i don't display these little messages with the ok button. Because, i had to click on it 50 times for 5 users.
ReplyDeleteThanks
Hi Alex,
ReplyDeleteYou need to write cscript in front of the script name e.g. cscript LCSAddContacts.wsf
/Dennis
Can I delete ALL contacts?
ReplyDeleteHi Mark,
ReplyDeleteYou could easily change the scripts to dump the contacts list. And then delete them (Another unsupported method would be to delete them directly from SQL ;-)
any chance of a quick note as to how to delete contacts directly from SQL?
ReplyDeleteHello everyone.
ReplyDeleteIt's all good and well. But i am busy already several days with a issue that i still can't solve.
The script works good for adding contacts. But not removing them.
How is it possible to remove contact from comunicator list when user is removed from the group.
What is get now is that it don't removes contact if user is removed from the group.
Any suggestions anyone?
Best wishes,
Nikolai