June, 2010

  • Windows PowerShell Remoting

    Manage all of your computers from the comfort of your own workstation.

  • Looking Up the Default Values for a Policy

    You’ve made a lot of changes to various policies, now you don’t know what you started with. Find out how to figure out what the default values for policies are without actually resetting any policy values.

  • Unassigning a Policy

    Suppose you don’t want a particular policy to be assigned to a particular user anymore. You could simply remove the policy, but what if you still want other users to be assigned to that policy; in that case removing the policy is something you definitely don’t want to do. Instead, you want to unassign the policy. Coincidentally, this article tells you how to do that.

  • 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...
  • Create a Universal Security Group

    So you say that you’d really like to know how to create a group that can be used for a custom Role-Based Access Control (RBAC) role? Well, let’s see what we can do to help you out. Note . You say what you’d really like to know...
  • 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...
  • List All the RBAC Roles and the Users that Hold Those Roles

    You want to know what’s really nice about the fact that Windows PowerShell has been fully-integrated into Microsoft Lync Server 2010? Here’s what’s really nice about the fact that Windows PowerShell has been fully-integrated into Microsoft...
  • 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;...
  • 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...
  • List the Roles that Include a Specific Cmdlet

    Role-Based Access Control (RBAC) is one of the cool new features included in Microsoft Lync Server 2010. RBAC gives you fine-grained control over the delegation of administrative rights; you do this by creating a universal security group in Active Directory...
  • Remove a User from All RBAC Groups

    In another script located in this warehouse ( Unassign an RBAC Role ) we show you how to unassign a Role-Based Access Control (RBAC) role that has been assigned to a user. That’s a pretty useful script, and it works great, as long as you know which...
  • Remove a User from an RBAC Group

    OK, so you assigned Ken Myer the CsArchivingAdministrator role, one of the Role-Based Access Control (RBAC) groups that is automatically created when you install Microsoft Lync Server 2010. Note . If you have no idea what a Role-Based Access Control...
  • Return All the Users in Your Domain

    Our primary motivation in putting together this warehouse of scripts was to address issues raised by customers; you know, questions like How Do I List All the Users With an Account in a Particular Site? or How Do I Unassign an RBAC Role? So how many customers...
  • 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...
  • Return the Effective Policy Assignments for a User

    You say you want to know which Microsoft Lync Server 2010 policies have been assigned to the user Ken Myer? Well, that’s easy enough; all you have to do is run the following command: Get-CsUser "Ken Myer" In return, Windows PowerShell should...