Difference between revisions of "Office 365"
Jump to navigation
Jump to search
(Created page with "__FORCETOC__ =Exchange Online= ==Powershell== #Connect to Exchange Online: $LiveCred = Get-Credential #Login to Organization: Username & Password #Run the following: $Sess...") |
|||
Line 3: | Line 3: | ||
=Exchange Online= | =Exchange Online= | ||
==Powershell== | ==Powershell== | ||
− | + | Connect to Exchange Online: | |
$LiveCred = Get-Credential | $LiveCred = Get-Credential | ||
− | + | Login to Organization: | |
Username & Password | Username & Password | ||
− | + | Run the following: | |
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection | $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection | ||
− | + | Run the following: | |
Import-PSSession $Session | Import-PSSession $Session | ||
Revision as of 22:04, 2 November 2017
Exchange Online
Powershell
Connect to Exchange Online:
$LiveCred = Get-Credential
Login to Organization:
Username & Password
Run the following:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
Run the following:
Import-PSSession $Session