Skip to content

Instantly share code, notes, and snippets.

@egoughnour
Forked from JediMindtrick/ChocolateyIIS
Last active April 12, 2022 12:15
Show Gist options
  • Save egoughnour/659b1e93ea7c5c4cfcf65a5658d5f0e5 to your computer and use it in GitHub Desktop.
Save egoughnour/659b1e93ea7c5c4cfcf65a5658d5f0e5 to your computer and use it in GitHub Desktop.
List of chocolatey commands to install IIS
#under construction
#based off of https://codealoc.wordpress.com/2013/03/15/installing-iis-with-chocolatey/
choco install IIS-WebServerRole --source WindowsFeatures
choco install IIS-ISAPIFilter --source WindowsFeatures
choco install IIS-ISAPIExtensions --source WindowsFeatures
choco install IIS-NetFxExtensibility --source WindowsFeatures
choco install IIS-ASPNET --source WindowsFeatures
@egoughnour
Copy link
Author

Not sure if the syntax has changed or something else is happening.
However I found that setting the source to WindowsFeatures worked when trying to install IIS components.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment