CrowdStrike/falcon-scripts

Enhance migrate script with local repo location

ps4signedout opened this issue · 0 comments

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.