Skip to content

Instantly share code, notes, and snippets.

View johnccfm's full-sized avatar

John Carlyle-Clarke johnccfm

  • Fastmarkets Limited
  • United Kingdom
View GitHub Profile
$name = "web01"
$source = "https://repo.saltstack.com/windows/Salt-Minion-2015.8.0-3-AMD64-Setup.exe"
$dest = "$env:TMP\salt-minion.exe"
$client = new-object system.net.webclient
$client.DownloadFile($source, $dest)
& $dest /S /master=saltmaster.fmlocal /minion-name=$name