From the course: PowerShell for Microsoft 365 Administration

Unlock this course with a free trial

Join today to access over 26,500 courses taught by industry experts.

How to connect to Exchange Online

How to connect to Exchange Online

“

- [Instructor] Now in order for us to manage Exchange Online, we first need to install the module. And this can be done by first checking, which modules we actually have loaded. So as you can see, I don't have an exchange module loaded. So to do this, we first need to install the module if we don't have it installed already. And it's called Exchange Online Management, I'm going to press enter here now. I should already have this installed in my machine so it shouldn't take long to prepare itself. But if you haven't installed this for the first time, it will take some time to download, it might prompt you for installing something from the PowerShell gallery. So just accept the defaults. Now, if I just do get module again, you'll notice it's loaded some extra ones, but it hasn't loaded my Exchange Online. And that's because you need to load that in as well. So I'm going to say import-module Exchange Online Management, and…

Contents