Created
September 29, 2017 22:48
-
-
Save veritas06/b79d31acac014735bc0f5743e49c03bc to your computer and use it in GitHub Desktop.
[Office 365 Login] #PowerShell
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
$UserCredential = Get-Credential | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection | |
Import-PSSession $Session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment