Office 365
Jump to navigation
Jump to search
Exchange Online
Powershell
Connect to Exchange Online:
$LiveCred = Get-Credential
Login to Organization:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic –AllowRedirection
Run the following:
Import-PSSession $Session
Get Distribution List Members
https://technet.microsoft.com/en-us/library/aa996367(v=exchg.160).aspx