# The one command for Windows, typed into PowerShell: # irm https://kernwaterdamagerestoration.com/start.ps1 | iex # # Served at /start.ps1 by Business/KWDR/website/src/_worker.js, from the copy build.sh's # publish_bootstrap puts in website/src/dl/. Never zipped: this fetches the zip. # # Same job as start.sh: download the starter into Downloads, unzip it, run install.ps1 # from the file. In THIS window, never a new PowerShell: some antivirus refuses a # PowerShell started with -ExecutionPolicy Bypass and reports only "Access is denied" at # line 1 (a peer's own PC, 2026-10-22). Windows refuses script files by default, so the # policy is lifted for this window only - no admin, no setting changed on the machine. # ASCII only - PowerShell 5 misreads anything else in a script. $ProgressPreference = 'SilentlyContinue' # PowerShell 5's progress bar slows a download many times over $ZipUrl = 'https://kernwaterdamagerestoration.com/dl/icm-starter.zip' $Dl = Join-Path $HOME 'Downloads' New-Item -ItemType Directory -Path $Dl -Force | Out-Null try { Invoke-WebRequest -Uri $ZipUrl -OutFile "$Dl\icm-starter.zip" -UseBasicParsing Expand-Archive -Path "$Dl\icm-starter.zip" -DestinationPath $Dl -Force } catch { Write-Host "Could not download the starter from $ZipUrl. Check the internet connection and run the same command again." -ForegroundColor Red return } Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass -Force & "$Dl\icm-starter\install.ps1"