Office Communications Server 2007 R2
with Windows PowerShell
We created this blog when it was announced that Lync Server 2010, the next version of Office Communications Server, was going to ship with full support for Windows PowerShell, including a full set of PowerShell cmdlets for managing Lync Server. We wanted to make sure there was someplace everyone could go to learn about Windows PowerShell and get help on using the Lync Server implementation.
What you might not know is that you could use Windows PowerShell to manage this product before Lync Server 2010. No, there weren't any cmdlets designed for Office Communications Server, but there were Windows Management Intstrumentation (WMI) classes. And as it turns out, you can use Windows PowerShell to write scripts that use WMI to manage Office Communications Server.
So, even though our main focus is on all the new cmdlets for Lync Server 2010, we realize that not everyone will be running Lync Server right away; there are still plenty of people running Office Communications Server 2007 R2, either alone or in a mixed environment. And the last thing we want to do is leave anyone out.
So this section of the Lync Server PowerShell blog is devoted to pre-Lync Server PowerShell. Namely, using Windows PowerShell with Microsoft Office Communications Server 2007 R2.
If you want to learn more about how to use these scripts, and about working with Windows PowerShell, see our Windows PowerShell v2.0 Reference.
Here are Windows PowerShell scripts you can copy and modify as needed to manage your Office Communications Server 2007 R2 deployment.
Managing User Contact Lists
· Add a Contact Group
· Check if a Contact Group Exists
· Remove a Contact Group
· Add a Contact Distribution Group
· Check if a Contact Distribution Group Exists
· Remove a Contact Distribution Group
· Add a Contact
· Check if a Contact Exists
· Remove a Contact
We’re a little short on articles at the moment, but we hope to add to this section soon.
Administratively Managing User Contact Lists
By Nick Smith, Microsoft
Articles and scripts from other sources.
Ten Steps to PowerShell Scripting with Office Communications Server 2007 R2
By Michael Adkins, Microsoft