From 7928620eef56bee091d77bf04111d51090f40a66 Mon Sep 17 00:00:00 2001 From: Carlos Matos Date: Thu, 20 Jun 2024 09:47:56 -0400 Subject: [PATCH] fix(windows_install): remove tolower() from update policy name (#324) This was a regression from a previous commit. Fixes #322 --- powershell/install/falcon_windows_install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powershell/install/falcon_windows_install.ps1 b/powershell/install/falcon_windows_install.ps1 index 552063a..d72b6f4 100755 --- a/powershell/install/falcon_windows_install.ps1 +++ b/powershell/install/falcon_windows_install.ps1 @@ -482,7 +482,7 @@ process { # Get sensor version from policy $message = "Retrieving sensor policy details for '$($SensorUpdatePolicyName)'" Write-FalconLog 'GetPolicy' $message - $filter = "platform_name:'Windows'+name.raw:'$($SensorUpdatePolicyName.ToLower())'" + $filter = "platform_name:'Windows'+name.raw:'$($SensorUpdatePolicyName)'" $url = "${BaseUrl}/policy/combined/sensor-update/v2?filter=$([System.Web.HttpUtility]::UrlEncode($filter)))" $policy_scope = @{ 'Sensor update policies' = @('Read')