From 11a6a763d88ac7ba8e8c6016ca21b7b07e5e8589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20=C3=98=2E=20T=2E=20Hansen?= <94194707+System-Admins-ath@users.noreply.github.com> Date: Thu, 8 Jan 2026 14:00:13 +0100 Subject: [PATCH 1/2] Add UseBasicParsing to Invoke-WebRequest calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alex Ø. T. Hansen <94194707+System-Admins-ath@users.noreply.github.com> --- src/private/eloomi/Invoke-EloomiApi.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/private/eloomi/Invoke-EloomiApi.ps1 b/src/private/eloomi/Invoke-EloomiApi.ps1 index 0eb0bcb..3423543 100644 --- a/src/private/eloomi/Invoke-EloomiApi.ps1 +++ b/src/private/eloomi/Invoke-EloomiApi.ps1 @@ -235,7 +235,7 @@ function Invoke-EloomiApi try { # Invoke Eloomi API. - $response = Invoke-WebRequest -Uri $Uri -Headers $header -Method Post -ContentType 'application/json' -Body $bodyUtf8 -ErrorAction Stop; + $response = Invoke-WebRequest -Uri $Uri -Headers $header -Method Post -ContentType 'application/json' -Body $bodyUtf8 -UseBasicParsing:$true -ErrorAction Stop; } catch { @@ -308,7 +308,7 @@ function Invoke-EloomiApi try { # Invoke Eloomi API. - $response = Invoke-WebRequest -Uri $Uri -Headers $header -Method Patch -ContentType 'application/json' -Body $bodyUtf8 -ErrorAction Stop; + $response = Invoke-WebRequest -Uri $Uri -Headers $header -Method Patch -ContentType 'application/json' -Body $bodyUtf8 -UseBasicParsing:$true -ErrorAction Stop; } catch { @@ -371,7 +371,7 @@ function Invoke-EloomiApi try { # Invoke Eloomi API. - $response = Invoke-WebRequest -Uri $Uri -Headers $header -Method Delete -ContentType 'application/json' -ErrorAction Stop; + $response = Invoke-WebRequest -Uri $Uri -Headers $header -Method Delete -ContentType 'application/json' -UseBasicParsing:$true -ErrorAction Stop; } catch { From 64964639a034d1c0a189847b80bf0dc6c2ca3ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20=C3=98=2E=20T=2E=20Hansen?= <94194707+System-Admins-ath@users.noreply.github.com> Date: Thu, 8 Jan 2026 14:01:25 +0100 Subject: [PATCH 2/2] Bump module version to 1.0.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alex Ø. T. Hansen <94194707+System-Admins-ath@users.noreply.github.com> --- src/SystemAdmins.Eloomi.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SystemAdmins.Eloomi.psd1 b/src/SystemAdmins.Eloomi.psd1 index 27299db..95589d5 100644 --- a/src/SystemAdmins.Eloomi.psd1 +++ b/src/SystemAdmins.Eloomi.psd1 @@ -3,7 +3,7 @@ RootModule = 'SystemAdmins.Eloomi.psm1'; # Version number of this module. - ModuleVersion = '1.0.6'; + ModuleVersion = '1.0.7'; # Supported PSEditions CompatiblePSEditions = @('Core', 'Desktop');