Remote powershell to Lync 2010 / 2013 FE

Connet session:

$cred = Get-Credential domainusername
$session =
New-PSSession -ConnectionURI “https://LYNCFE.FQDN/OcsPowershell”
-Credential $cred
Import-PsSession $session

Disconnect session:

Get-PSSession | Remove-PSSession

Author: Harri Jaakkonen

Leave a Reply

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