Using Filters with the Get-ExoMailbox Cmdlet

%3CLINGO-SUB%20id%3D%22lingo-sub-2466152%22%20slang%3D%22en-US%22%3EUsing%20Filters%20with%20the%20Get-ExoMailbox%20Cmdlet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2466152%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%E2%80%99s%20a%20good%20idea%20to%20replace%20older%20calls%20to%20the%20Get-Mailbox%20cmdlet%20with%20Get-ExoMailbox.%20However%2C%20it%E2%80%99s%20not%20just%20a%20matter%20of%20cut%20and%20paste%20updates.%20In%20some%20cases%2C%20the%20nature%20of%20the%20new%20REST-based%20cmdlets%20mean%20that%20some%20additional%20care%20is%20necessary%20to%20ensure%20that%20the%20updated%20code%20works%20as%20expected.%20As%20we%20examine%20in%20this%20article%2C%20filters%20are%20just%20one%20example%20where%20some%20attention%20to%20detail%20is%20needed%20to%20make%20sure%20Exchange%20Online%20delivers%20the%20right%20set%20of%20mailbox%20data.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fpractical365.com%2Fusing-filters-with-the-get-exomailbox-cmdlet%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fpractical365.com%2Fusing-filters-with-the-get-exomailbox-cmdlet%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2466152%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
MVP

 

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.

https://practical365.com/using-filters-with-the-get-exomailbox-cmdlet/

0 Replies