• Blog Post: Lync 2010 Windows desktop client is now officially supported in Lync hybrid deployments

    We received a lot of questions about, and requests for, support for Lync 2010 Windows desktop client in a Lync hybrid deployment. After a round of testing, we are happy to announce that the Lync 2010 Windows desktop client is now officially supported for Lync users in a hybrid deployment, including users...
  • Blog Post: Get-CsUser Filter Parameter and Enabled Attribute

    Aren’t the Filter parameter and the Enabled attribute on the Get-CsUser cmdlet redundant? Doesn't Get-CsUser always return all the users who have been enabled for Lync Server? Yes, Get-CsUser always returns all the users who have been enabled for Lync Server. Except, of course, when...
  • Blog Post: When is a Boolean Not a Boolean?

    If you've ever read Alice in Wonderland , you might recall the famous riddle posed by the Mad Hatter: "Why is a raven like a writing desk?" And that -- hmmm, that is an interesting question, isn't it? Why is a raven like a writing desk? Of course, one reason why the riddle has become so famous...
  • Blog Post: Lync Server Admin Guide: Managing Users

    This article is part of the Microsoft Lync Server 2010 Administration Guide: PowerShell Supplement . Search for Lync Server 2010 Users To search for one or more users To search for a user based on the value of a Microsoft Lync Server-specific attribute, use the Get-CsUser cmdlet...
  • Blog Post: Add a User to an RBAC Group

    How do you assign an RBAC (Role-Based Access Control) role to a user? Practice, practice, practice. See, because there’s this old joke where the one guy asks, “How do I get to Carnegie Hall?” and the other guys says, “Practice, practice, prac – “ Well, never mind...
  • Blog Post: Simultaneously Assigning a Policy to Multiple Users

    Trying to pick your favorite feature in Microsoft Lync Server 2010 PowerShell is like trying to pick your favorite episode of The Simpsons : there are so many good ones to choose from that it simply can't be done. Note . Actually, it can be done: Simpsoncalifragilisticexpiala(Annoyed Grunt)cious...
  • Blog Post: 21 User Information Commands to Run Before You Die

    Things… 21 User Information Commands to Run Before You Die Perhaps the hottest trend in the publishing world these days is the 1,001 Things approach: 1,001 Places to See Before You Die; 1,001 Movies You Must See Before You Die; 1,001 Books You Must Read Before You...
  • Blog Post: Modify the SIP Address of an Enabled Lync Server User

    Can Set-CsUser construct a SIP address for you? No, it can't. As you probably know, when you enable a user for Lync Server you can ask the system to create the user's SIP address for you. For example, this command gives Ken Myer a SIP address based on his SamAccountName: Enable-CsUser –Identity...
  • Blog Post: Limiting the Number of Contacts a User Can Have

    Having friends – lots of friends – is great. For example, on Facebook actor Ashton Kutcher has 3,367,035 friends; his wife, actress Demi Moore, has 1,292,835 friends of her own. (Sending out Christmas cards must be a full-time job at their house.) By comparison, PowerShell writer Jean Ross...
  • Blog Post: Haiku #184

    Bah-bah black sheep, have You a reason to run the ACP commands? This past weekend was an exciting one for the author of today's haiku: he attended the Soldier Hollow Sheepdog Championship. Why was that so exciting? Well, when it comes to spectator sports, the author of today's haiku has always...
  • Blog Post: Return Information about Users in a Single OU

    Microsoft Lync Server 2010 provides two cmdlets – Get-CsUser and Get-CsAdUser – that return information about user accounts. (Get-CsUser returns information only for user accounts that have been enabled for Lync Server; Get-CsAdUser returns information for all your Active Directory user accounts...
  • Blog Post: Active Directory Phone Numbers and Line URIs: Together at Last!

    If you were to tunnel deep enough under the Microsoft campus (note: please don't tunnel under the Microsoft campus, or at least don't tell anyone we suggested it), you would eventually run into the concrete bunker that serves as the Lync PowerShell Fortress of Solitude. Note . You'll also find...
  • Blog Post: Assign Line URIs to Multiple Users

    Submitted by Scott Stubberfield and Nick Smith, Microsoft When you enable a user for Enterprise Voice (Microsoft’s implementation of Voice over IP) you also need to assign that user a line URI (i.e., a telephone number). Assign a line URI to one user? Here’s a command that can do that...
  • Blog Post: Retrieving Users with the Active Directory Name Attribute

    How come I can't use the Active Directory Name attribute as an Identity? Exchange lets you use the Name. Why can't you use the Name attribute as an Identity? Well, we're not really sure; that decision was made before we joined the Lync Server PowerShell team. But while you can't use the Name attribute...
  • Blog Post: 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...
  • Blog Post: Haiku #33

    Looking for my soul Mate. Must be Lync-enabled. Non-smoker preferred. If you believe what they say on TV (and, really, why wouldn't you believe what they say on TV?) then one of out every five new relationships starts through an online dating service. We like to think that Microsoft Lync...
  • Blog Post: Walkthrough: Enabling a User for Microsoft Lync Server 2010 and Enterprise Voice

    Walkthrough Enabling a User for Microsoft Lync Server 2010 and Enterprise Voice: A Comprehensive Lync Server Walkthrough Well, it’s your first day at your new job: Lync Server administrator for Litware, Inc. You’re pretty excited about your new position, and...
  • Blog Post: Get-CsUser and Get-CsAdUser: When to Use Where-Object vs. Filter or LdapFilter

    With Get-CsUser and Get-CsAdUser, doesn’t the Where-Object cmdlet do the same thing as the Filter and LdapFilter parameters? That's an easy one. The answer to your question is this: yes. Well, except that the answer to your question is also this: no. Hmmm …. Maybe it's...
  • Blog Post: Why Are Display Names Allowed as User Identities?

    Why Are Display Names Allowed as User Identities? After all, display names do not have to be unique in a forest. Okay, so here’s the whole question: Display names do not have to be unique, which means I can have several users with the display name Ken Myer . If I try to enable one of those...
  • Blog Post: Enabling User Accounts in Lync Server vs. Exchange Server

    Does the Active Directory object for a user have to exist before you can enable that user for Lync Server? Yes; if you're going to enable a user for Lync Server then that user must already have an Active Directory user account. For example, suppose you try to enable Ken Myer for Lync Server, but...
  • Blog Post: What Happens if You are Enabling a User for Lync Server, and You Make a Typo When Entering the SIP Domain?

    We have a confession to make here. When we were first asked this question we said, "As far as we know, the Enable-CsUser cmdlet verifies that the SIP domain actually exists before it lets you assign that domain as part of a SIP address. We’ll have to double-check that, but we’re pretty sure...
  • Blog Post: Enable Users from an Excel File

    You might find this hard to believe, but there have been times when people have actually criticized Microsoft software. It's true: not every product that we've released has been universally acclaimed as the greatest software product ever released. But that's the nature of the software business: sometimes...
  • Blog Post: 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...
  • Blog Post: If I Run Disable-CsUser Against a User Who Only Has a SIP Address Will That Delete the SIP Address?

    This was an easy one: you bet that Disable-CsUser will delete the SIP address. The basic premise is this: we have a user who has been assigned a SIP address; to be a little more specific, we have a user who has a value assigned to the Active Directory attribute msRTCSIP-PrimaryUserAddress. We haven't...
  • Blog Post: List All the Users in a Site

    How do I list all the users with accounts in a particular site? Hmmm, that is an interesting question: how do you list all the users who have accounts in a particular site? Note . Not that we wish to imply that other questions aren’t interesting; as we all know, there are no dumb questions...