Adding User Accounts Using PowerShell

User accounts can be added to Lync Online/Office 365 using Windows PowerShell in conjunction with the Microsoft Online Services Module. The installation steps and system requirements for the Microsoft Online Services Module are detailed later in this chapter in the section “Establishing Trust with Office 365 for SSO.” After the Microsoft Online Services Module is installed on a system with PowerShell, use the following steps to create a new user account using PowerShell:

1. Log on to the system where Windows PowerShell and the Microsoft Online Services Module are installed.

2. Open Windows PowerShell and import the Microsoft Online Services Module using the command Import-Module MSOnline.

3. Execute the command ...

Get Microsoft® Lync® Server 2013 Unleashed Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.