CrowdStrike / falcon-scripts

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

Enhance migrate script with local repo location #265

Open ps4signedout opened 7 months ago

ps4signedout commented 7 months ago

https://github.com/CrowdStrike/falcon-scripts/blob/main/powershell/migrate/falcon_windows_migrate.ps1

Script should be enhanced with an additional command line option to specify a local repository in order to eliminate the download time of the sensor install.

Something like: `.PARAMETER LocalInstallerRepo Specifying a local file repository in order to avoid sensor downloads for each single install[Optional]

.PARAMETER DownloadAllAvailableInstallersLocally Bulk download all available installers if not present at LocalInstallerRepo [Required]`

Potentially we could check if any of the installers is present at the location, if not, simply download all available sensors for easier reference, hash should be anyhow retrieved via API before installation.

On hash-mismatch -> enforcing fresh sensor download.