I’ve been working with Cesar Calderon on the JumpCloud Slack Lounge to get a PowerShell command together to install CrowdStrike on Windows. So between Ben from JumpCloud, Cesar and I got the below-working command.
$webClient = New-Object System.Net.WebClient $webClient.DownloadFile("URL TO FILE", "C:\local.file.name") $args = @("/install","/quiet","/norestart","CID=<ENTER CID>") Start-Process -FilePath "C:\local.file.name" -ArgumentList $args (edited)
This command downloads the installer, you need to update the command “URL TO FILE” and the path “C:\local.file.name” to suit your environment.
You then need to replace <ENTER CID> with your unique CID
Finally, you need to point the Start-Process -FilePath at the same place in the second line of the code to replicate where you downloaded the CrowdStrike client.
1 thought on “INSTALLING CROWDSTRIKE ON WINDOWS USING JUMPCLOUD COMMANDS”
Hey I am getting the error below. Thanks for posting!! Do you know what the issue could be?
Exception calling “DownloadFile” with “2” argument(s): “An exception occurred during a WebClient request.”
At line:2 char:1
+ $webClient.DownloadFile(“https://bit.ly/3i5Celw”, “C:\Program Files”)
+ CategoryInfo : NotSpecified: (:) , MethodInvocationException
+ FullyQualifiedErrorId : WebException