blog.icewolf.ch

Let's talk about IT!
posts - 1799, comments - 295, trackbacks - 0

My Links

Archives

Post Categories

icewolf

Powershell Remoting with Lync

Hallo zusammen,

Wo ich gleich beim Powershell Remoting bin, zeige ich euch doch auch gleich wie man das mit Lync macht.

Lync Powershell Remote Session vorbereiten
$lyncOptions = New-PSSessionOption -SkipRevocationCheck -SkipCACheck -SkipCNCheck
$lync = New-PSSession -ConnectionUri https://icesrv06.corp.icewolf.ch/ocspowershell -SessionOption $lyncOptions -Authentication NegotiateWithImplicitCredential

Powershell Remote Session importieren
Import-PSSession $lync | Out-Null

Ein Lync cmdlet ausführen
Get-CsUser -Identity boa

Powershell Remote Session beenden
Remove-PSSession $lync

Grüsse
Andres Bohren

Print | posted on Tuesday, September 11, 2012 11:14 PM | Filed Under [ Powershell UM/Mobile ]

Powered by:
Powered By Subtext Powered By ASP.NET