Skip to content

Instantly share code, notes, and snippets.

@johnccfm
Forked from anonymous/salt-minion.ps1
Last active October 7, 2015 14:41
Show Gist options
  • Save johnccfm/0f232131d29ea8a67766 to your computer and use it in GitHub Desktop.
Save johnccfm/0f232131d29ea8a67766 to your computer and use it in GitHub Desktop.
$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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment