Get-ExoMailbox Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Mon, 03 Jun 2024 15:52:16 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 https://practical365.com/wp-content/uploads/2022/06/favicon.png Get-ExoMailbox Archives - Practical 365 32 32 Practical Graph: Find Sets of Entra ID User Objects or Mailboxes to Process with PowerShell https://practical365.com/find-azure-ad-users-powershell/ https://practical365.com/find-azure-ad-users-powershell/#comments Mon, 08 May 2023 10:00:00 +0000 https://practical365.com/?p=58457 Many PowerShell scripts written to automate operations in Microsoft 365 tenants fetch Azure AD users or mailboxes to process. In this article, we explain how to fetch user objects effectively by using filters to make sure that scripts process the right set of accounts or mailboxes.

The post Practical Graph: Find Sets of Entra ID User Objects or Mailboxes to Process with PowerShell appeared first on Practical 365.

]]>
https://practical365.com/find-azure-ad-users-powershell/feed/ 7
PowerShell, Piping and Exchange Online Mailbox Management https://practical365.com/powershell-piping-and-exchange-online-mailbox-management/ https://practical365.com/powershell-piping-and-exchange-online-mailbox-management/#comments Wed, 27 Apr 2022 00:38:07 +0000 https://practical365.com/?p=55962 PowerShell uses a concept called pipelining to combine two or more cmdlets to perform a cohesive task.
The PowerShell pipeline combines singularly useful cmdlets together to process data. Used intelligently, the pipeline is a great way to process data through a series of steps to automate common administrative operations. Mastering the pipeline, or at least becoming comfortable with pipelining cmdlets, is an essential skill for anyone using PowerShell to manage Microsoft 365 tenants.

The post PowerShell, Piping and Exchange Online Mailbox Management appeared first on Practical 365.

]]>
https://practical365.com/powershell-piping-and-exchange-online-mailbox-management/feed/ 3
Using Filters with the Get-ExoMailbox Cmdlet https://practical365.com/using-filters-with-the-get-exomailbox-cmdlet/ https://practical365.com/using-filters-with-the-get-exomailbox-cmdlet/#comments Mon, 21 Jun 2021 06:00:00 +0000 https://practical365.com/?p=52223 It's a good idea to replace older calls to the Get-Mailbox cmdlet with Get-ExoMailbox. However, it's not just a matter of cut and paste updates. In some cases, the nature of the new REST-based cmdlets mean that some additional care is necessary to ensure that the updated code works as expected. As we examine in this article, filters are just one example where some attention to detail is needed to make sure Exchange Online delivers the right set of mailbox data.

The post Using Filters with the Get-ExoMailbox Cmdlet appeared first on Practical 365.

]]>
https://practical365.com/using-filters-with-the-get-exomailbox-cmdlet/feed/ 17
Upgrade Your Exchange Online Scripts to Use the Get-EXOMailbox Cmdlet https://practical365.com/move-your-exchange-online-scripts-to-use-get-exomailbox/ https://practical365.com/move-your-exchange-online-scripts-to-use-get-exomailbox/#comments Wed, 26 May 2021 07:08:00 +0000 https://practical365.com/?p=51878 Many Exchange Online scripts use the old Get-Mailbox cmdlet to fetch mailbox data. It's time to change these calls out and replace them with Get-ExoMailbox. The new cmdlet is faster than the old and more resilient in its ability to handle server glitches. There's no reason to continue using the old Remote PowerShell cmdlets unless you like slowness and errors.

The post Upgrade Your Exchange Online Scripts to Use the Get-EXOMailbox Cmdlet appeared first on Practical 365.

]]>
https://practical365.com/move-your-exchange-online-scripts-to-use-get-exomailbox/feed/ 6