From the course: PowerShell for Exchange Administration

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

General user mailbox management

General user mailbox management

(techno music) - [Anthony] Let's take a look at Managing Mailbox Protocols in Exchange using PowerShell. The first thing, is you really need to be working inside the Exchange Management shell or have an Exchange PowerShell session open. In my case, you can see I have an Exchange PowerShell session open. So, the first thing we'll take a look at is managing the protocols for a single mailbox. So to retrieve them, we use the Get-CASMailbox cmdlet and give it the name of the mailbox. This user has all of those access protocols enabled. So, if we didn't like that, we use the Set-CASMailbox cmdlet and tell it which protocols we want to disable. So in this case, I'm splatting these settings to the CASMailbox variable, and telling it to disable Activesync, Pop, and Imap. So we'll pass that variable to the Set-CASMailbox. And then we use the Get-CASMailbox to verify. And we can see that now the user only has OWA and Mapi enabled. And of course, since we're working in PowerShell, it's important…

Contents