diff --git a/Module/ExoHelper/ExoHelper.psd1 b/Module/ExoHelper/ExoHelper.psd1 index 72e991e..41bbd0c 100644 --- a/Module/ExoHelper/ExoHelper.psd1 +++ b/Module/ExoHelper/ExoHelper.psd1 @@ -12,7 +12,7 @@ RootModule = 'ExoHelper.psm1' # Version number of this module. -ModuleVersion = '1.0.2' +ModuleVersion = '1.0.3' # Supported PSEditions CompatiblePSEditions = @('Desktop', 'Core') diff --git a/Module/ExoHelper/ExoHelper.psm1 b/Module/ExoHelper/ExoHelper.psm1 index 938eeb1..9b1253d 100644 --- a/Module/ExoHelper/ExoHelper.psm1 +++ b/Module/ExoHelper/ExoHelper.psm1 @@ -147,6 +147,9 @@ This command retrieves mailbox of user JohnDoe and returns just netId property $props = $PropertiesToLoad -join ',' $uri = "$uri`?`$select=$props" } + #do not show progress from Invoke-WebRequest + $pref = $progressPreference + $progressPreference = 'SilentlyContinue' } process @@ -208,4 +211,9 @@ This command retrieves mailbox of user JohnDoe and returns just netId property } }while($true) } + end + { + #restore progress preference + $progressPreference = $pref + } } \ No newline at end of file