Created
June 26, 2014 06:52
-
-
Save Pyromaniaxxx/11ce05815860b652b3bb to your computer and use it in GitHub Desktop.
Lync Online に接続する PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$user = “hogehoge@hoge.onmicrosoft.com” | |
$pass = “pass” | |
$CTSS = ConvertTo-SecureString $pass -AsPlainText -Force | |
$PSC = New-Object System.Management.Automation.PsCredential($user, $CTSS) | |
$O365LyncCred = Get-Credential -Credential $PSC | |
Import-Module LyncOnlineConnector | |
$LyncSession = New-CsOnlineSession -Credential $O365LyncCred | |
Import-PSSession $LyncSession |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment