Working with Microsoft Lync Registry Settings

  Remember the registry? Of course you do: the registry was first introduced in Windows 3.1 and now, almost 20 years later, the registry is still very much alive and kicking. We’re the first to admit that the registry hasn’t always been the most-beloved piece of software that Microsoft ever created, but it still maintains…


Administratively Managing User Contact Lists

WMI Namespaces and Scripting Examples   By Nick Smith, Microsoft   Introduction   Your company has a requirement to administratively add/remove/modify the membership of Microsoft Office Communications Server 2007 R2 users’ contact lists.  This document provides Windows PowerShell scripting examples for managing OCS users’ contact lists via the supported Windows Management Instrumentation (WMI) namespaces.  The…


Enabling a User for Microsoft Lync Server 2010

Throughout the world, tribes, clubs, organizations, and other groups of like-minded people often require newcomers to be initiated before they can become members in good standing of that tribe, club, or organization. For example, the infamous Skull and Bones club at Yale reportedly makes newcomers chant the following “death mantra” over and over again:  “The…


Counting Retrieved Data

Why Can’t I Get a Count of My Dial Plans?   Not too long ago we got an email from someone who had encountered a strange problem when working with Lync Server PowerShell:   “I was just trying to get a count of things,” he wrote. “Sometimes I could do that and sometimes I couldn’t….


Move or Enable Multiple User Accounts

Submitted by Scott Stubberfield and Nick Smith, Microsoft   Windows PowerShell makes it easy for you to enable a new user for Microsoft Lync Server 2010, and makes it just as easy for you to move a single user account from one Registrar pool to another. But what if you need to perform these user…


Collect Logs in Microsoft Lync

When we first started the Lync Server PowerShell blog, our plan was for the blog to provide people with all the cool insider information that they couldn’t get anywhere else. And that was a pretty good plan, except for one thing: we didn’t actually have any cool insider information. And so we started writing Lync…


Connect to Microsoft Lync Server 2010 Remote PowerShell from the Desktop

By Nick Smith, Microsoft   Before running this script, ensure that the client meets all the requirements for a remote connection to Windows PowerShell. Here are the requirements:   ·         Windows PowerShell v2.0 ·         .NET Framework 2.0 Service Pack 1 ·         Windows Remote Management (WinRM) 2.0   The requirements are included in the Windows Management…


How To Export Lync Contacts to Excel

Operator, oh could you help me place this call? See, the number on the matchbook is old and faded… – Jim Croce, “Operator (That’s Not the Way it Feels)”     When was the last time you called the telephone operator? Do operators even exist anymore? With your lists of contacts in your cell phone,…


The Microsoft Lync Server 2010 Administration Guide: PowerShell Supplement

The Untold Story!   A few weeks ago the Microsoft Lync Server 2010 Administration Guide suddenly appeared in the Microsoft Download Center. So what’s wrong with the Administration Guide? Well, to tell you the truth, there’s absolutely nothing wrong with the Administration Guide; as it turns out, the Guide is chock-full of really good, very…


Assign a Policy to All the Users in a Security Group

When it comes time to assign per-user policies, those of us here at Microsoft thought of everything. For example, if you take a look at the article Assigning Policies you’ll see how per-user policies can be assigned to a single user; to all the users with accounts in a specified OU; to all the users…