Microsoft Office Tutorials and References
In Depth Information
Connecting Windows PowerShell to the Office 365 service
Figure 9-9 Credentials prompt after entering Windows PowerShell commands.
4. The credentials you provided in Step 3 are now stored in the $LiveCred variable.
Open a Windows PowerShell session, also known as PSSession , to Exchange Online by
entering the following command:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri
https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic
–AllowRedirection
Your PSSession should look similar to Figure 9-10.
Figure 9-10 Windows PowerShell Command Prompt window after online sessions are
connected.
Search JabSto ::




Custom Search