Lync 2013 – Script Policy Summary – LyncPolicySummary.ps1

This simple script will summarise how many users are assigned each policy in Lync as well as how many users are against each registrar pool.

Lync-PolicySummary

 

 

Author: Chris Hayward

Share This Post On

4 Comments

  1. Good job, It’s really helpful when you need a quick glance. – Lakmal-

    Post a Reply
  2. I took a pass to try to make this a bit easier to read each of the policies and reduce the amount of repeated code. This is what I came up with and feel free to use it.

    Note:the policy array requires the names to match the properties you’d like to expand.

    $policies = @(
    “Registrar Pool”
    “Voice Policy”
    “Dial Plan”
    “Conferencing Policy”
    “External Access”
    “Location Policy”
    “Archiving Policy”
    “Pin Policy”
    “Mobility Policy”
    “Persistent Chat Policy”
    “Hosted Voicemail Policy”
    )

    $users = Get-CsUser

    ForEach ($p in $policies) {
    Write-Output “$p Summary” -ForegroundColor Yellow
    $users | Group-Object $p.Replace(” “,””) | Select-Object Count, Name
    }

    Post a Reply
      • The only problem with this script, that it only considers USER objects.

        You are missing however the usage statistics for CommonAreaPhones, LyncMeetingRooms, ResponseGroupWorkflows (voicepolicy is usually assigned to RGS workflows if call restrictions are applicable)…

        Post a Reply

Trackbacks/Pingbacks

  1. Lync 2013 – Script Policy Summary – LyncPolicySummary.ps1 | www.WeakestLync.com | JC's Blog-O-Gibberish - […] http://weakestlync.com/2014/11/09/lync-2013-script-policy-summary-lyncpolicysummary-ps1/ […]
  2. Weekly IT Newsletter – November 3-7, 2014 | Just a Lync Guy - […] Lync 2013 – Script Policy Summary – LyncPolicySummary.ps1 – […]
  3. NeWay Technologies – Weekly Newsletter #120 – November 7, 2014 | NeWay - […] Lync 2013 – Script Policy Summary – LyncPolicySummary.ps1 – […]
  4. NeWay Technologies – Weekly Newsletter #120 – November 6, 2014 | NeWay - […] Lync 2013 – Script Policy Summary – LyncPolicySummary.ps1 – […]
  5. Lync 2013 ­ Script Policy Summary ­ LyncPolicySummary.ps1 | www.WeakestLync.com | JC's Blog-O-Gibberish - […] http://weakestlync.com/2014/11/09/lync-2013-script-policy-summary-lyncpolicysummary-ps1/ […]

Submit a Comment

Your email address will not be published. Required fields are marked *