Exchange Online PowerShell v2 Module Preview – Now More Secure

Published Nov 03 2021 11:56 AM 8,430 Views

Update 11/22/2021: We have increased the number of available REST-backed cmdlets to 350; this change was done service-side and cmdlets are available using the same version of module as mentioned in this post.

We’re excited to let you know that we are working on a new version of the Exchange Online PowerShell v2 module, built to provide a more secure experience for Exchange Online management. This module (available now in preview as Module 2.0.6-Preview3) enables IT admins to use their Windows client machines for day-to-day management of Exchange Online in their organization without enabling WinRM basic auth!

What’s new in this Preview?

The new module allows admins to connect to Exchange Online using Connect-ExchangeOnline, which now invokes a REST API in the background, making the cmdlets more reliable. Because a Remote PowerShell connection is not established in new version, this version doesn’t require WinRM basic auth to be enabled. You can disable WinRM basic auth by running the command below:

winrm set winrm/config/client/auth '@{Basic="false"}'

Read more about WinRM basic auth here.

A few things to note:

  • This is important to understand: not all cmdlets have been converted to use REST at this time. This is a preview module that supports only a portion of all cmdlets.
  • This version allows you to use all cmdlets via a Remote PowerShell connection as well. For that, you need to pass the -UseRPSSession parameter while running Connect-ExchangeOnline.
  • If you disable WinRM basic auth, the only cmdlets that will work with this module are the ones in the attached list; other RPS cmdlets will not work without WinRM basic auth at this time.
  • Please note that the work to enable cmdlets to run without WinRM basic auth is not the same as what we did to release specific REST-based cmdlets (see Get-ExchangeOnline* cmdlets listed here). This new work (enabling cmdlets to run without WinRM basic auth on a local client machine) is simply enabling regular cmdlets to run without WinRM basic auth. Therefore, you should not expect significant performance increases based on this work, as the goal is to not change any cmdlet names or change parameters, but to begin enabling all cmdlets to run without WinRM basic auth.

Installing the Preview Module

You can use the following command to install the preview module in PowerShell Core:

Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.6-Preview3 -AllowPrerelease

To Install on native PowerShell you will need to install the latest Package Manager and the latest version of PowerShellGet. To do this, close all PowerShell Windows and from an elevated PowerShell session, run the following command.

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
Install-PackageProvider -Name NuGet -Force
Install-Module -Name PowerShellGet -Force -AllowClobber

Restart PowerShell and then you can install the module.

If you still have issues, you can download the latest version manually and copy it into the module folder by running:

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
Save-Module -Name PowerShellGet -Path C:\LocalFolder -Repository PSGallery

Then copy all contents from under C:\LocalFolder into C:\Program Files\WindowsPowerShell\Modules. Restart PowerShell and then you can install the module.

Viewing the list of updated cmdlets

To generate the list of cmdlets that we have updated, please do the following:

Connect-ExchangeOnline
Get-Command -Module tmpEXO*

This will create a list of all currently available updated cmdlets. Please note that due to preview status of this module (and related cmdlets) there might be situations that a specific cmdlet might be available one day and then becomes unavailable (if an issue is found, we would make it unavailable until the issue is resolved). That is why we suggest generating the cmdlet list by yourself when needed.

Let us know what you think! Send your product improvement suggestions and feedback to exocmdletpreview(AT)service.microsoft.com. Remember this is a preview and we plan to continue adding more cmdlets to the list of those able to run without WinRM basic auth. As we make progress, we will make more announcements!

The Exchange Team

5 Comments
%3CLINGO-SUB%20id%3D%22lingo-sub-2924732%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20PowerShell%20v2%20Module%20Preview%20%E2%80%93%20Now%20More%20Secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2924732%22%20slang%3D%22en-US%22%3E%3CP%3ENoice%20!%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20plans%20to%20move%20the%20legacy%20CmdLets%20like%20Get-DistributionGroupMember%20etc.%20over%20to%20Get-ExoDistributionGroupMember%20(i.e.%20REST-based%20CmdLets)%3F%20...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%20is%20there%20a%20plan%20to%20add%20the%20administration%20capabilitys%20to%20Graph%20and%20just%20have%20everyone%20go%20that%20way%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELove%20your%20work%20!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2927405%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20PowerShell%20v2%20Module%20Preview%20%E2%80%93%20Now%20More%20Secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2927405%22%20slang%3D%22en-US%22%3E%3CP%3EFinally%2C%20a%20module%20that%20works%20properly%20on%20MacOS%20as%20well.%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3ENow%2C%20that%20it%20doesn't%20use%20basic%20auth%20anymore%2C%20the%20legacy%20commands%20are%20working%20as%20well%2C%20not%20only%20the%20Verb-EXO*%20cmdlets.%20So%20you%20can%20do%20Get-Mailbox%20as%20well%20as%20Get-EXOMailbox.%3C%2FP%3E%3CP%3EWe%20can%20now%20use%20PowerShell%20core%20on%20more%20OSes.%20(not%20that%20I%20don't%20like%20Windows%2C%20I%20do%2C%20a%20lot)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2928013%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20PowerShell%20v2%20Module%20Preview%20%E2%80%93%20Now%20More%20Secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2928013%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F55238%22%20target%3D%22_blank%22%3E%40Jamie%20BRANDWOOD%3C%2FA%3E%26nbsp%3BThe%20focus%20of%20this%20particular%20work%20is%20to%20move%20the%20existing%20cmdlets%20to%20not%20require%20WinRM%20basic%20auth...%20but%20this%20is%20not%20the%20same%20thing%20as%20making%20them%20into%20%22Get-EXO*%22%20cmdlets.%20It%20is%20not%20planned%20to%20move%20all%20of%20the%20Exchange%20cmdlets%20into%20full-REST%20%22Get-EXO*%22%20model%2C%20rather%20move%20them%20all%20to%20nor%20require%20WinRM%20basic%20auth.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2940973%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20PowerShell%20v2%20Module%20Preview%20%E2%80%93%20Now%20More%20Secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2940973%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F324116%22%20target%3D%22_blank%22%3E%40The_Exchange_Team%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20a%20little%20bit%20curious.%20I%20am%20using%3C%2FP%3E%3CP%3E-%20Windows%2011%26nbsp%3B%3C%2FP%3E%3CP%3E-%20PowerShell%205.1%3C%2FP%3E%3CP%3E-%26nbsp%3BExchangeOnlineManagement%26nbsp%3B2.0.5%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBasic%20Auth%20in%20WinRM%20is%20already%20set%20to%20false%20and%20everything%20works%20fine%20as%20far%20as%20i%20see.%20Did%20the%20Support%20for%20Basic%3DFalse%20alredy%20come%20with%20a%20prior%20Module%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EC%3A%5C%26gt%3Bwinrm%20get%20winrm%2Fconfig%2Fservice%3CBR%20%2F%3EService%3CBR%20%2F%3ERootSDDL%20%3D%20O%3ANSG%3ABAD%3AP(A%3B%3BGA%3B%3B%3BBA)(A%3B%3BGR%3B%3B%3BIU)S%3AP(AU%3BFA%3BGA%3B%3B%3BWD)(AU%3BSA%3BGXGW%3B%3B%3BWD)%3CBR%20%2F%3EMaxConcurrentOperations%20%3D%204294967295%3CBR%20%2F%3EMaxConcurrentOperationsPerUser%20%3D%201500%3CBR%20%2F%3EEnumerationTimeoutms%20%3D%20240000%3CBR%20%2F%3EMaxConnections%20%3D%20300%3CBR%20%2F%3EMaxPacketRetrievalTimeSeconds%20%3D%20120%3CBR%20%2F%3EAllowUnencrypted%20%3D%20false%3CBR%20%2F%3EAuth%3CBR%20%2F%3EBasic%20%3D%20false%3CBR%20%2F%3EKerberos%20%3D%20true%3CBR%20%2F%3ENegotiate%20%3D%20true%3CBR%20%2F%3ECertificate%20%3D%20false%3CBR%20%2F%3ECredSSP%20%3D%20false%3CBR%20%2F%3ECbtHardeningLevel%20%3D%20Relaxed%3CBR%20%2F%3EDefaultPorts%3CBR%20%2F%3EHTTP%20%3D%205985%3CBR%20%2F%3EHTTPS%20%3D%205986%3CBR%20%2F%3EIPv4Filter%20%3D%20*%3CBR%20%2F%3EIPv6Filter%20%3D%20*%3CBR%20%2F%3EEnableCompatibilityHttpListener%20%3D%20false%3CBR%20%2F%3EEnableCompatibilityHttpsListener%20%3D%20false%3CBR%20%2F%3ECertificateThumbprint%3CBR%20%2F%3EAllowRemoteAccess%20%3D%20true%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%20Andres%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2922946%22%20slang%3D%22en-US%22%3EExchange%20Online%20PowerShell%20v2%20Module%20Preview%20%E2%80%93%20Now%20More%20Secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2922946%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22background%3A%20%23F0F0F0%3B%20padding%3A%20.5em%3B%20margin%3A%201em%200%201em%200%3B%22%3E%3CSTRONG%3EUpdate%2011%2F22%2F2021%3A%3C%2FSTRONG%3E%20We%20have%20increased%20the%20number%20of%20available%20REST-backed%20cmdlets%20to%20350%3B%20this%20change%20was%20done%20service-side%20and%20cmdlets%20are%20available%20using%20the%20same%20version%20of%20module%20as%20mentioned%20in%20this%20post.%3C%2FP%3E%0A%3CP%3EWe%E2%80%99re%20excited%20to%20let%20you%20know%20that%20we%20are%20working%20on%20a%20new%20version%20of%20the%20Exchange%20Online%20PowerShell%20v2%20module%2C%20built%20to%20provide%20a%20more%20secure%20experience%20for%20Exchange%20Online%20management.%20This%20module%20(available%20now%20in%20%3CA%20href%3D%22https%3A%2F%2Fwww.powershellgallery.com%2Fpackages%2FExchangeOnlineManagement%2F2.0.6-Preview3%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Epreview%3C%2FA%3E%20as%20Module%202.0.6-Preview3)%20enables%20IT%20admins%20to%20use%20their%20Windows%20client%20machines%20for%20day-to-day%20management%20of%20Exchange%20Online%20in%20their%20organization%20%3CEM%3Ewithout%20enabling%20WinRM%20basic%20auth!%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--298014092%22%20id%3D%22toc-hId--298014060%22%20id%3D%22toc-hId--298014060%22%20id%3D%22toc-hId--298014060%22%3EWhat%E2%80%99s%20new%20in%20this%20Preview%3F%3C%2FH2%3E%0A%3CP%3EThe%20new%20module%20allows%20admins%20to%20connect%20to%20Exchange%20Online%20using%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fconnect-exchangeonline%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EConnect-ExchangeOnline%3C%2FA%3E%2C%20which%20now%20invokes%20a%20REST%20API%20in%20the%20background%2C%20making%20the%20cmdlets%20more%20reliable.%20Because%20a%20Remote%20PowerShell%20connection%20is%20not%20established%20in%20new%20version%2C%20this%20version%20doesn%E2%80%99t%20require%20WinRM%20basic%20auth%20to%20be%20enabled.%20You%20can%20disable%20WinRM%20basic%20auth%20by%20running%20the%20command%20below%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3Ewinrm%20set%20winrm%2Fconfig%2Fclient%2Fauth%20'%40%7BBasic%3D%22false%22%7D'%3C%2FP%3E%0A%3CP%3ERead%20more%20about%20WinRM%20basic%20auth%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fexchange%2Fexchange-online-powershell-v2%3Fview%3Dexchange-ps%23prerequisites-for-the-exo-v2-module%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EA%20few%20things%20to%20note%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThis%20is%20important%20to%20understand%3A%20not%20all%20cmdlets%20have%20been%20converted%20to%20use%20REST%20at%20this%20time.%20This%20is%20a%20preview%20module%20that%20supports%20only%20a%20portion%20of%20all%20cmdlets.%3C%2FLI%3E%0A%3CLI%3EThis%20version%20allows%20you%20to%20use%20all%20cmdlets%20via%20a%20Remote%20PowerShell%20connection%20as%20well.%20For%20that%2C%20you%20need%20to%20pass%20the%20-UseRPSSession%20parameter%20while%20running%20Connect-ExchangeOnline.%3C%2FLI%3E%0A%3CLI%3EIf%20you%20disable%20WinRM%20basic%20auth%2C%20the%20%3CSTRONG%3E%3CEM%3Eonly%3C%2FEM%3E%3C%2FSTRONG%3E%20cmdlets%20that%20will%20work%20with%20this%20module%20are%20the%20ones%20in%20the%20attached%20list%3B%20other%20RPS%20cmdlets%20will%20%3CEM%3Enot%3C%2FEM%3E%20work%20without%20WinRM%20basic%20auth%20at%20this%20time.%3C%2FLI%3E%0A%3CLI%3EPlease%20note%20that%20the%20work%20to%20enable%20cmdlets%20to%20run%20without%20WinRM%20basic%20auth%20is%20not%20the%20same%20as%20what%20we%20did%20to%20release%20specific%20REST-based%20cmdlets%20(see%20Get-ExchangeOnline*%20cmdlets%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fexchange%2Fexchange-online-powershell-v2%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Elisted%20here%3C%2FA%3E).%20This%20new%20work%20(enabling%20cmdlets%20to%20run%20without%20WinRM%20basic%20auth%20on%20a%20local%20client%20machine)%20is%20simply%20enabling%20regular%20cmdlets%20to%20run%20without%20WinRM%20basic%20auth.%20Therefore%2C%20you%20should%20not%20expect%20significant%20performance%20increases%20based%20on%20this%20work%2C%20as%20the%20goal%20is%20to%20not%20change%20any%20cmdlet%20names%20or%20change%20parameters%2C%20but%20to%20begin%20enabling%20all%20cmdlets%20to%20run%20without%20WinRM%20basic%20auth.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId--2105468555%22%20id%3D%22toc-hId--2105468523%22%20id%3D%22toc-hId--2105468523%22%20id%3D%22toc-hId--2105468523%22%3EInstalling%20the%20Preview%20Module%3C%2FH2%3E%0A%3CP%3EYou%20can%20use%20the%20following%20command%20to%20install%20the%20preview%20module%20in%20PowerShell%20Core%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EInstall-Module%20-Name%20ExchangeOnlineManagement%20-RequiredVersion%202.0.6-Preview3%20-AllowPrerelease%3C%2FP%3E%0A%3CP%3ETo%20Install%20on%20native%20PowerShell%20you%20will%20need%20to%20install%20the%20latest%20Package%20Manager%20and%20the%20latest%20version%20of%20PowerShellGet.%20To%20do%20this%2C%20close%20all%20PowerShell%20Windows%20and%20from%20an%20elevated%20PowerShell%20session%2C%20run%20the%20following%20command.%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%5BNet.ServicePointManager%5D%3A%3ASecurityProtocol%20%3D%20%5BNet.ServicePointManager%5D%3A%3ASecurityProtocol%20-bor%20%5BNet.SecurityProtocolType%5D%3A%3ATls12%3CBR%20%2F%3EInstall-PackageProvider%20-Name%20NuGet%20-Force%3CBR%20%2F%3EInstall-Module%20-Name%20PowerShellGet%20-Force%20-AllowClobber%3C%2FP%3E%0A%3CP%3ERestart%20PowerShell%20and%20then%20you%20can%20install%20the%20module.%3C%2FP%3E%0A%3CP%3EIf%20you%20still%20have%20issues%2C%20you%20can%20download%20the%20latest%20version%20manually%20and%20copy%20it%20into%20the%20module%20folder%20by%20running%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%5BNet.ServicePointManager%5D%3A%3ASecurityProtocol%20%3D%20%5BNet.ServicePointManager%5D%3A%3ASecurityProtocol%20-bor%20%5BNet.SecurityProtocolType%5D%3A%3ATls12%3CBR%20%2F%3ESave-Module%20-Name%20PowerShellGet%20-Path%20C%3A%5CLocalFolder%20-Repository%20PSGallery%3C%2FP%3E%0A%3CP%3EThen%20copy%20all%20contents%20from%20under%20C%3A%5CLocalFolder%20into%20C%3A%5CProgram%20Files%5CWindowsPowerShell%5CModules.%20Restart%20PowerShell%20and%20then%20you%20can%20install%20the%20module.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-382044278%22%20id%3D%22toc-hId-382044310%22%20id%3D%22toc-hId-382044310%22%20id%3D%22toc-hId-382044310%22%3EViewing%20the%20list%20of%20updated%20cmdlets%3C%2FH2%3E%0A%3CP%3ETo%20generate%20the%20list%20of%20cmdlets%20that%20we%20have%20updated%2C%20please%20do%20the%20following%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EConnect-ExchangeOnline%3CBR%20%2F%3EGet-Command%20-Module%20tmpEXO*%3C%2FP%3E%0A%3CP%3EThis%20will%20create%20a%20list%20of%20all%20currently%20available%20updated%20cmdlets.%20Please%20note%20that%20due%20to%20preview%20status%20of%20this%20module%20(and%20related%20cmdlets)%20there%20might%20be%20situations%20that%20a%20specific%20cmdlet%20might%20be%20available%20one%20day%20and%20then%20becomes%20unavailable%20(if%20an%20issue%20is%20found%2C%20we%20would%20make%20it%20unavailable%20until%20the%20issue%20is%20resolved).%20That%20is%20why%20we%20suggest%20generating%20the%20cmdlet%20list%20by%20yourself%20when%20needed.%3C%2FP%3E%0A%3CP%3ELet%20us%20know%20what%20you%20think!%20Send%20your%20product%20improvement%20suggestions%20and%20feedback%20to%20exocmdletpreview(AT)service.microsoft.com.%20Remember%20this%20is%20a%20preview%20and%20we%20plan%20to%20continue%20adding%20more%20cmdlets%20to%20the%20list%20of%20those%20able%20to%20run%20without%20WinRM%20basic%20auth.%20As%20we%20make%20progress%2C%20we%20will%20make%20more%20announcements!%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22author%22%3EThe%20Exchange%20Team%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2922946%22%20slang%3D%22en-US%22%3E%3CP%3EWe%E2%80%99re%20excited%20to%20let%20you%20know%20that%20we%20are%20working%20on%20a%20new%20version%20of%20the%20Exchange%20Online%20PowerShell%20v2%20module%2C%20built%20to%20provide%20a%20more%20secure%20experience%20for%20Exchange%20Online%20management.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2922946%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAnnouncements%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHybrid%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2998856%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20PowerShell%20v2%20Module%20Preview%20%E2%80%93%20Now%20More%20Secure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2998856%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20you%20please%20clarify%20what%20these%20changes%20mean%20for%20the%20Verb-EXO***%20cmdlets%3F%26nbsp%3B%20Are%20those%20still%20superior%20in%20terms%20of%20reliability%20in%20long-running%20scripts%3F%26nbsp%3B%20Or%20are%20all%20Verb-EXO***%20cmdlets%20and%20all%20REST-API%20backed%20original%20cmdlets%20now%20equal%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20running%20into%20some%20shortcomings%20with%20Get-EXOMailbox%20%2F%20Get-EXORecipient%20but%20have%20things%20on%20the%20go%20today%20that%20I%20would%20like%20to%20develop%20unattended%20scripts%20for.%26nbsp%3B%20This%20would%20be%20for%20clients%2C%20so%20I%20want%20to%20go%20with%20the%20most%20'legit'%20thing%20going%20(that%20will%20actually%20work).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can%20do%20Get-EXOMailbox%20-ResultSize%20Unlimited%2C%20then%20Get-EXOMailboxStatistics%2C%20then%20do%20Get-Mailbox%20(legacy%2F%20v2.0.5)%20for%20just%20a%20few%20mailboxes%20to%20get%20the%20properties%20I%20need%2C%20but%20were%20missed%20in%20the%20creation%20of%20Get-EXOMailbox.%26nbsp%3B%20Or%2C%20I%20can%20just%20jump%20to%20the%20preview%20module%20and%20use%20REST-API-backed%20Get-Mailbox%20%2F%20Get-MailboxStatistics.%26nbsp%3B%20But%20is%20one%20more%20reliable%20than%20the%20other%20in%20a%2040K%2B%20mailboxes%20EXO%20tenant%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*Edited%20to%20remove%20whiny-boo-boo%20closing.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Nov 22 2021 09:09 AM
Updated by: