Table of Contents
Connect to Exchange Online PowerShell
Exchange Online PowerShell Modunle
You need install Exchange Online module only once. In the next time, run to connect to Exchange Online PowerShell.
##Connect to Exchange Online Powershell.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine -Force;
Install-PackageProvider -Name NuGet -Force;
Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted;
Install-Module -Name ExchangeOnlineManagement;
Import-Module ExchangeOnlineManagement;
Connect-ExchangeOnline;
Enable-OrganizationCustomization
Add Chris to Discovery Management Role
Add-RoleGroupMember -Identity "Discovery Management" -Member chris@leoguides.info
How do you know this worked?
Get-RoleGroupMember -Identity "Discovery Management"
Disconnect-ExchangeOnline
5/5 - (2 votes)