Difference between revisions of "Office 365"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
Run the following: | Run the following: | ||
Import-PSSession $Session | Import-PSSession $Session | ||
+ | |||
+ | Get Distribution List Members | ||
+ | https://technet.microsoft.com/en-us/library/aa996367(v=exchg.160).aspx | ||
=OneDrive= | =OneDrive= |
Revision as of 18:31, 14 December 2017
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