Connect To Lync Server Using Remote PowerShell
I had written before about how to connect to an Exchange 2010 server from a Windows PowerShell, read here. The same can be done for Lync Server as well. The commands are pretty much the same as for Exchange 2010. Run the following commands to connect remotely using PowerShell. $s = New-PSSession -ConnectionUri https://lync.exchangemaster.me/OcsPowershell -Credential…
I had written before about how to connect to an Exchange 2010 server from a Windows PowerShell, read here. The same can be done for Lync Server as well.
The commands are pretty much the same as for Exchange 2010.
Run the following commands to connect remotely using PowerShell.
$s = New-PSSession -ConnectionUri https://lync.exchangemaster.me/OcsPowershell -Credential (Get-Credential) Import-PSSession -Session $s
Do replace the ConnectionUri with your url.
Sure enough, I have all Lync cmdlets available in Windows PowerShell.
Great Thanks. This prompts for password. Is there any way that it dosent ask for credentials and makes connection with logged on windows domain account ?