Microsoft Office Tutorials and References
In Depth Information
Office 365 examples and exercises
$Session = New-PSSession -ConfigurationName Microsoft.Exchange-ConnectionUri
https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic
Import-PSSession $Session -AllowClobber
3. Enter the credentials to allow our client-side session to communicate with our
service-side session, as shown in Figure 9-22.
Figure 9-22 Authentication challenge response window.
4. Validate your connection by entering the following command in the ISE and pressing
Figure 9-23 shows the result of the Get-mailbox command. Notice that the Office 365
server-side session redirects our requests. The ISE Command Prompt window you are
using should look very similar.
Figure 9-23 The Get-Mailbox command and the output.
5. Use Windows PowerShell to learn the Exchange Online commands that are most
helpful. This example shows you how to quickly search for cmdlets based on