1. If you have not installed Skype for Business PowerShell Module, click the link to install it on your PC.
  2. Open Windows PowerShell as an administrator (use Run as administrator) on any machine which has Internet connection.

  3. Run the command below, and enter your Office 365 admin account credentials.

    $credential = Get-Credential

  4. Run the script below to import the Skype for Business PowerShell Module:

    Import-Module SkypeOnlineConnector


  5. Run the command below to create a new session

    $session = New-CsOnlineSession -Credential $credential -Verbose


  6. Finally, import the new session into the Windows PowerShell console. 

    Import-PSSession $session

  • No labels