Browse by Tags

Related Posts
  • Blog Post: Retrieving Active Directory and Microsoft Lync Server 2010 User Accounts

    After you get Microsoft Communications Server up and running, you probably won’t find yourself having to manage several hundred sets of Address Book server configurations or thousands of conferencing policies. Consequently, the fact that the cmdlets used to manage these objects don’t offer...
  • Blog Post: Assigning Policies

    So how do you grant (assign) policies? Well, to begin with, it’s important to keep in mind that the only policies that need to be assigned are the per-user policies. When you create a site, service, or global policy those policies are automatically assigned at the time your create them. If you...
  • Blog Post: Listing All the Values in a Multi-Valued Property

    So you’re interested in taking a peek at the global file transfer filter configuration settings used in your organization; to be a little more specific, you’d like to see all the file types (as determined by file extension) that users are not allowed to transfer to one another using Microsoft...
  • Blog Post: Microsoft Lync Server 2010 Cmdlet Descriptions

    What follows is an alphabetical list of the 530-plus cmdlets that appear in Microsoft Lync Server 2010. Each cmdlet includes a brief description extracted from the Lync Server PowerShell help file. The full help for each cmdlet can be found by clicking on the appropriate link. Approve-CsDeviceUpdateRule...
  • Blog Post: The Field Guide to Microsoft Lync Server 2010 Cmdlets

    To hear some people tell it, the world’s fastest-growing pastime is Lync Server cmdlet-watching. All over the world countless numbers of people, binoculars and notebooks in hand, are tramping through the woods and the underbrush, trying to spot the elusive Lync Server cmdlets. If bird-watching...
  • Blog Post: Scopes and Filters

    Scopes and Filters Suppose you’re a typical English-speaking American and you get the opportunity to live and work in Rome for a year. Could you survive without learning to speak Italian? Maybe. Would you be better off if you took a little time to sit down and learn some Italian? Definitely...
  • Blog Post: Working with TimeSpans and DateTimes

    As if you didn’t have enough to worry about – um, enough to get excited about – here’s something new: TimeSpans and DateTimes. A number of Microsoft Lync Server 2010 property values are stored using the TimeSpan data format; this format is typically used to tell you how much time...
  • Blog Post: Setting Property Values

    If you’ve worked with Windows PowerShell in the past then you may have gotten used to changing a property value for an object by using commands like these: $x = Get-ChildItem C:\Scripts\Test.ps1 $x.IsReadOnly = $True What happens when you run a couple of commands like this? That’s easy...
  • Blog Post: All About Identities

    Some time ago one of the authors had to go through the always-enjoyable experience of getting cable television hooked up to her new house. This involved disconnecting the cable from her old residence and then setting up a connection at the new house. Before the cable company could do any of this the...
  • Blog Post: Listing the Microsoft Lync Server 2010 Cmdlets

    Here’s a question for you: how can you list just the Microsoft Lync Server cmdlets? That’s actually a pretty good question. After all, Windows PowerShell ships with some 270+ cmdlets and functions, and then Micro­soft Lync Server adds another 540 or so to the mix. How in the world...
  • Blog Post: Filter vs. Where-Object

    In this day and age, no one likes being told what to do. For instance, in the Microsoft Lync Server 2010 PowerShell documentation we invariably use the -Filter parameter or the -LdapFilter parameter any time we want to retrieve a targeted collection of user accounts. For example, if we want to return...
  • Blog Post: Creating Microsoft Lync Server 2010 Objects

    Windows PowerShell has some pretty strict standards when it comes to naming things. As you probably know by now, every PowerShell cmdlet consists of a verb and a noun. Not only that, but there are guidelines that define how a developer goes about choosing nouns, and some pretty strict guidelines that...
  • Blog Post: Changing the Lync Server Management Shell’s Default Folder

    When you first start the Lync Server Management Shell, your working folder is set, by default, to your user folder, something like C:\Users\kenmyer. (To find out what your user folder is, type $homepath at the Lync Server Management Shell prompt and press ENTER.) Is there a problem with using your user...
  • Blog Post: A Brief Introduction to Role-Based Access Control – Part 1

    “If you want something done right, do it yourself.” That, by the way, is excellent advice … unless, of course, you happen to be a Microsoft Lync Server 2010 administrator charged with managing thousands of users and multiple sites. After all, in a case like that, doing it yourself...
  • Blog Post: Getting Help for the Microsoft Lync Server 2010 Cmdlets

    Early on in the development of the Microsoft Lync Server implementation of Windows PowerShell, everyone was talking about a “whopping” total of 300 cmdlets, tops, and the help writers confidently assured everyone that all the cmdlets would be documented by pre-beta. And then the product started...
  • Blog Post: PSListModifiers

    Most Microsoft Lync Server 2010 properties store a single value. For example, the MaxMeetingSize property for a given conferencing policy can be set to only one number. Which makes sense: the maximum meeting size can’t be set both to 100 and to 200. (You’re either on the bus or you’re...
  • Blog Post: Removing Policies and Other Objects

    For the most part, the various Remove cmdlets found in the Microsoft Lync Server 2010 implementation of Windows PowerShell are simple and straightforward. For example, suppose you want to remove a voice policy that has the Identity site:Redmond. That’s fine; all you have to do is call Remove-CsVoicePolicy...