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 had two goals:…

1

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 and the Filter parameter. For…


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 tried everything they…


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…

3

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. The problem is getting everyone in the family…

2

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…


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,…


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 “Ken…

11

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 not quite as easy as we…

1