From c6eea05335b9716fb17b9f2ad059a4bfec4a6b34 Mon Sep 17 00:00:00 2001 From: Jiri Formacek Date: Wed, 6 Mar 2024 13:23:25 +0100 Subject: [PATCH] fix: Copilot mistake :-| --- Module/ExoHelper/ExoHelper.psd1 | 2 +- Module/ExoHelper/ExoHelper.psm1 | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Module/ExoHelper/ExoHelper.psd1 b/Module/ExoHelper/ExoHelper.psd1 index 9f00785..089196f 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.1.1' +ModuleVersion = '1.1.2' # Supported PSEditions CompatiblePSEditions = @('Desktop', 'Core') diff --git a/Module/ExoHelper/ExoHelper.psm1 b/Module/ExoHelper/ExoHelper.psm1 index e60b503..884601f 100644 --- a/Module/ExoHelper/ExoHelper.psm1 +++ b/Module/ExoHelper/ExoHelper.psm1 @@ -224,9 +224,8 @@ This command retrieves mailbox of user JohnDoe and returns just netId property { if($psversionTable.PSVersion -gt '7.4') #7.4+ supports ProgressAction { - $splat['SkipHeaderValidation'] = $true + $splat['ProgressAction'] = 'SilentlyContinue' } - $splat['ProgressAction'] = 'SilentlyContinue' } $response = Invoke-WebRequest @splat #we may process the headers in the future to see rate limit remaining, etc.