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.