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.