But depending on which part you want to use, you need different login cmdlets. You have to use Connect-IPPSSession to authenticate.Īgain – it’s only one PowerShell module here. Cmdlets for the Security and Compliance Center – management of sensitivity labels, retention policies, data loss prevention, or eDiscovery.You have to use Connect-ExchangeOnline to authenticate. Cmdlets for Exchange Online – the normal “mail management”.There was also another old, obsolete version of an Exchange Online Powershell module which is the reason that you might see our new module to be referred to as ‘Exchange Online Powershell v2’.Īnd: Never forget that the PowerShell module ExchangeOnlineManagement contains different internal parts: This is hopelessly outdated and obsolete (no MFA here…. In the beginning, Admins were used to connect to Exchange Online with Remoting (“New-PSSession -ConnectionUri ……” and so on). There is another article on this blog with a general comparison of the modules needed for O365 and Azure AD scripting. If you want to script with Exchange Online mail objects, as well as other important cloud objects like Unified Groups (‘O365 Groups’), then ExchangeOnlineManagement is the choice for you. ![]() It provides all the cmdlets like ‘Get-Mailbox’, ‘Enable-MailContact’, or ‘New-DistributionGroup’. This is the module called ExchangeOnlineManagement. This is a short article about how to install and use the Exchange Online PowerShell module.
0 Comments
Leave a Reply. |