blog.powershell.no

On Windows PowerShell and other admin-related topics

Lync Server 2010 Remote Administration

When Lync Server 2010 is deployed, there are two main administration tools:

  • Lync Server Control Panel
  • Lync Server Management Shell

Both are available from the Start-menu on a Lync Server:

image

 

Lync Server Control Panel

The Lync Server Control Panel are a web-based graphical administration tool built on Silverlight:

image

When deploying Lync, an administrative access URL needs to be specified, i.e. https://lync-admin.contoso.local. This makes it possible to administer the Lync Server 2010 environment from any web-based client that supports Silverlight.
In fact, every operation we`re performing in the Lync Server Control Panel is running PowerShell Lync cmdlets in the background.

 

Lync Server Management Shell

The Lync Server Management Shell is based on Windows PowerShell 2.0:

image

Like Exchange Server 2010, Lync Server 2010 provides an IIS (Internet Information Services) PowerShell provider.

This makes it possible to administer the Lync Server 2010 environment using PowerShell remoting. An example:

001
002
$session = New-PSSession -ConnectionUri https://lync-admin.contoso.local/OcsPowershell -Credential (Get-Credential)
Import-PSSession -Session $session

 

When running the above example, you are prompted for credentials. Specify a domain user account that has been delegated permissions to administer the Lync Server 2010 environent, i.e. one of the default security groups CSAdministrator or RTCUniversalServerAdmins. When the session are successfully established all cmdlets in the remote session are imported to your local PowerShell-session. This is what`s called PowerShell implicit remoting.

 

Additional resources

Lync Server TechCenter

Microsoft TechNet: Lync Server Management Shell

Lync Server PowerShell Blog

NextHop

Advertisements

December 5, 2010 - Posted by | Lync Server 2010, Remote Management, SBS 2008, Windows PowerShell |

3 Comments »

  1. […] shell session based on this post. This of course is a big bloated way to do it (it can be done as a twoliner), but I need the PS […]

    Pingback by codesalot.com » Blog Archive » Playing with PS: Script: Start remote Lync management session | May 25, 2011 | Reply

  2. […] shell session based on this post. This of course is a big bloated way to do it (it can be done as a twoliner), but I need the PS […]

    Pingback by Playing with PS: Script: Start remote Lync management session « codesalot.com | May 9, 2012 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: