Browse by Tags

Related Posts
  • 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 Who Use a Specific Gateway

    Back here at the Windows PowerShell cave on the Microsoft campus we’ve set up an internal SharePoint site where people can make suggestions for Microsoft Lync Server 2010 scripts they’d like someone to write. Note . In case you’re wondering, the Windows PowerShell cave is an exact...
  • Blog Post: Get-CsUser: The Real Story

    You know how they say that you shouldn’t believe everything you read? Well, as it turns out, that’s pretty good advice … even for things you read here on this Web site. What do we mean by that? Well, from the beginning of time generation after generation of Communications Server...
  • 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 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: Haiku #120

    Do not be afraid: We do have a backup plan. User pool info. If you can hear an echo while reading today's haiku, there's a good reason for that: at the moment, the author of today's haiku is working in a building that appears to be completely empty. On top of that, there was absolutely no...
  • Blog Post: Find the Number of Users Assigned to Your Per-User Policies

    A koan is a riddle used by Zen Buddhists to help focus the mind during meditation and, with any luck, to help the initiate develop intuitive thinking. Some of the more famous Zen koans include: "Two hands clap and there is a sound; what is the sound of one hand?" "What is Buddha?" Dongshan...
  • Blog Post: Warning Before Disabling a User in Lync Server

    How come there isn't a warning prompt that appears when you run Disable-CsUser? It seems like a kind of dangerous cmdlet to not have a warning. We hate to sound like a broken record, at least in part because we aren't sure that there are any people out there who even remember what records were...
  • Blog Post: 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...
  • Blog Post: 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...
  • 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: 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: Haiku #143

    Smile! After all, you (And Hugh) can run the User Server cmdlets. So it turns out that there was a monastery in this one town where something weird happened and the monks all went crazy; as a result, they started growing these man-eating flowers that began terrorizing the town. The townspeople...
  • 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: Properties Returned By Get-CsUser and Get-CsAdUser

    One potentially confusing feature of Microsoft Lync Server 2010 is the fact that there are two different cmdlets that can be used to return user account information: Get-CsUser and Get-CsAdUser . On the surface, the difference between the two cmdlets is pretty clear-cut: · Get-CsUser is...
  • 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: 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...
  • 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: Are Unused Settings Applied From the Global Scope?

    Suppose I have a policy at the site scope, but it only uses one setting. Are the unused settings applied from the global scope? Good question. To begin with, we should note that most Lync Server policies – and most policy settings – have default values. For example, suppose you use...
  • 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: 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: Create and Configure Users for Synthetic Transactions

    Submitted by Antenehe Temteme, Microsoft This script will perform the following actions: 1. Create Active Directory users 2. Enable those users for Lync Server 2010 3. Create health monitoring configuration for use with synthetic transactions when they are run from System Center...
  • 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: Combine Output With Add-Member

    Sometime in the year 1793 (the exact date is unknown), the Italian artist Leonardo Da Vinci was strolling through the newly-opened Musée de Louvre when he happened upon his famous portrait of the Mona Lisa. "Mamma mia!" he exclaimed upon looking at the painting. "I forgot to paint the eyebrows...
  • 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...