PowerTip: Enable IIS in Windows 8.1 with PowerShell

Summary: Use the DISM cmdlets to enable the built-in IIS component in Windows 8.1.

Hey, Scripting Guy! Question Is there a quick and easy way to enable IIS in Windows 8.1on my developer laptops?

Hey, Scripting Guy! Answer With Windows 8.1, you only need to enter one line in Windows PowerShell:

Enable-WindowsOptionalFeature –online –featurename IIS-WebServerRole

Comments (2)

  1. Jag_dish says:

    Hey this command is not working

  2. Jason says:

    Works great, thank you Scripting Guy.

Skip to main content