1 / 10

Lync Server 2010 and PowerShell

Lync Server 2010 and PowerShell. Thomas Kisner Unified Communications Architect, BNSF Railway. Warning!. The next slide will either delight you, or scare you to death.

arleen
Download Presentation

Lync Server 2010 and PowerShell

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lync Server 2010 and PowerShell Thomas Kisner Unified Communications Architect, BNSF Railway

  2. Warning! The next slide will either delight you, or scare you to death. While I hope for the former initial reaction, if you are afraid I will attempt to turn your fear to delight by the end of the presentation If I fail, remember the pizza was free

  3. Not just a CLI, really an interpreted programming language

  4. All of the power of .NET Access the .NET framework and classes variables, functions, branching (if-then-else), loops (while, do, for, and foreach), and structured error/exception handling All Cmdlet output are .NET objects, those objects can be pipelined as input for other another Cmdlet *EVERYTHING* that can be done in the GUI can be done (and scripted) in PowerShell

  5. Alright, I’m delighted. What the heck does what you said mean? • Task that seemed impossible (or improbable) to perform before become easy. • PowerShell has saved my bacon, and that of my team, many times over – • Change everyone’s PIN for Exchange UM and send them an e-mail, but only if they had never logged into UM • Make UM Distro lists into a 1 step process • Delegate Authority to Admin tasks before RBAC

  6. Alright, what does this have to do with Lync? Unlike OCS, Lync has it’s own module of nearly 550 cmdlets to manage your deployment Lync Server Control Panel uses PowerShell Import-Module Lync

  7. User Cmdlets Get-CsUser Get-CsAdUser Get-CsAdUser | Select-Object DisplayName, SipAddress, Enabled Set-CsUser

  8. Ready made scripts The Lync PowerShell site contains many useful, ready made scripts: http://blogs.technet.com/b/csps/p/scripts.aspx If your trying to do it, chances are someone else has done it, wrote a script for it and posted it on the web Cheat Sheet download: http://www.powergui.org/servlet/KbServlet/download/3091-102-5259/LyncServer2010PowerShell.pdf

  9. Demo

  10. THANK YOU!

More Related