A set of sample scripts that enable users to explore the use of remote Windows PowerShell as a tool for managing Office 365 in general, and Lync Online in particular, are now available on the Microsoft Download Center. Author: Barry Castle, Sr. Product Marketing Manager Reviewer: Greg Stemp, Sr. Content Developer Product: Lync Online, Office…
Tag: Script
The Lync Server Deleteomatic
Have Fun and Delete Things, Too: The All-New Lync Server Deleteomatic Between the Lync Server Management Shell, the Lync Server Control Panel, and all the assorted Lync Server Resource Kit tools you’re probably thinking, “You know, I already have all the Lync Server management tools I could ever need.” But guess what? If…
Export Lync Contacts to Excel
This script exports contacts from Microsoft Lync 2010 to a Microsoft Excel worksheet. Requirements: · Lync 2010 must be running and you must be signed in. · The Microsoft Lync 2010 SDK must be installed on the client machine.Download the Lync 2010 SDK. · You must have Microsoft Excel 2010 installed. (This should also…
Retrieve Lync Connection Information
Submitted by Tracy A. Cerise, University of Kentucky This script pulls Microsoft Lync 2010 connection information, such as the number of connections per Front End Server and number of unique users, and either displays it to the console or writes it to a file, depending on the parameters you supply with the call. …
List the Users and Client Endpoint Versions Connected to a Registrar Pool: Remote Connection
Nick Smith and Scott Stubberfield have updated a previous script of theirs which lists all the users connected to a Registrar pool along with the client version of the endpoint they used to log on to the system. According to Nick, updates made since the time the previous script was published include the following: …
List the Users and Client Endpoint Versions Connected to a Registrar Pool: Direct Connection
Submitted by Scott Stubberfield and Nick Smith, Microsoft Nick Smith and Scott Stubberfield have updated a previous script of theirs which lists all the users connected to a Registrar pool along with the client version of the endpoint they used to log on to the system. According to Nick, updates made since the time…
Prepare for Response Group Restore
When you try to restore the Response Group configuration file after a backup, the restore fails because the contact objects already exist in Active Directory. This script lists the Response Group contact objects in Active Directory and allows you to delete those objects before restoring. To run the script below, do the following: …
Assign Active Directory Phone Numbers to Line URIs
To see a full explanation of how these scripts work, see the article Active Directory Phone Numbers and Line URIs: Together at Last! http://blogs.technet.com/b/csps/archive/2011/02/01/howtoadphonetolineuri.aspx Convert a Phone Number to a Line URI and Assign to User This script converts a phone number in a format similar to the following to a Line URI…
Determine Whether or Not a Number has Been Assigned to a Call Park Orbit
When you work at Microsoft you often find yourself involved in truly fascinating discussions. For example, just the other day a couple of us were sitting around talking about the call park service when someone posed this question: does the Get-CsCallParkOrbit cmdlet provide an easy way for you to determine whether or not a given…
Remove a Contact
For more information on using this script, see the article Adminstratively Managing User Contact Lists by Nick Smith. #Contributed by Nick Smith, Microsoft #Supported Versions: Office Communications Server 2007 R2 #Get User Information $User = Get-WmiObject -Query “Select * from MSFT_SIPESUserSetting where PrimaryURI = ‘sip:user@domain.com'” #Get the contact on the user’s contact list $Contact…