Skip to content

Commit

Permalink
Fix web request
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Jan 14, 2025
1 parent 5cfdc9b commit 3fd5e3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .buildkite/scripts/install_sysmon.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function ParseErrorForResponseBody($Error) {
}

try {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$result = Invoke-WebRequest -Uri $downloadUrl -OutFile "$tempFolder\Sysmon.zip" -UseBasicParsing
}
catch {
Expand Down

0 comments on commit 3fd5e3f

Please sign in to comment.