Skip to content

Instantly share code, notes, and snippets.

@ffpollock
Created July 17, 2017 14:21
Show Gist options
  • Save ffpollock/60b7b6238029f4e0b6f987c0ade47bd9 to your computer and use it in GitHub Desktop.
Save ffpollock/60b7b6238029f4e0b6f987c0ade47bd9 to your computer and use it in GitHub Desktop.
powershell_script 'Install IIS' do
code 'Add-WindowsFeature Web-Server'
guard_interpreter :powershell_script
not_if "(Get-WindowsFeature -Name Web-Server).Installed"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment