CrowdStrike / falcon-scripts

Scripts to streamline the deployment and use of the CrowdStrike Falcon sensor
The Unlicense
153 stars 89 forks source link

Powershell script has a syntax issue. #135

Closed cecconae closed 1 year ago

cecconae commented 1 year ago

This line : if (not (Test-Path -Path $UninstallerPath)) {

Should be : if (-not (Test-Path -Path $UninstallerPath)) {

carlosmmatos commented 1 year ago

@cecconae thanks for opening the issue. We are looking into this. I'm guessing based on the limited information that you are running the falcon_windows_install.ps1 script? Just out of curiosity, why not use the falcon_windows_uninstall.ps1 script? At some point we plan on removing this functionality from the install script.

For now, we'll fix this if block in an upcoming PR.