Last active
April 21, 2016 19:16
-
-
Save thisboyiscrazy/a8ab945a2dc4edbab723093cf51d5969 to your computer and use it in GitHub Desktop.
Power shell connect to office 365
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
$LiveCred = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection | |
Import-PSSession $Session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment