SharePoint Stuff



How to list Exchange Online Dynamic Distribution Group members

Written by Luke Smith. Posted in Microsoft

The below will allow you to list the members of a dynamic distribution group

Set-ExecutionPolicy RemoteSigned
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

$DDG = Get-DynamicDistributionGroup "My DL Name"
Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter -OrganizationalUnit $DDG.RecipientContainer

Remove-PSSession $Session

Written by Luke Smith. Posted in Microsoft

Very useful script to determine mailbox locations in Office 365: https://blogs.perficient.com/microsoft/2016/03/office-365-script-to-determine-exchange-online-mailbox-location/

Network Testing for Office 365 locations

Written by Luke Smith. Posted in Uncategorized

outlook-namnorth.office365.com
outlook-nameast.office365.com
outlook-namsouth.office365.com
outlook-namwest.office365.com
outlook-emeaeast.office365.com
outlook-emeasouth.office365.com
outlook-emeawest.office365.com
outlook-emeacenter.office365.com