Skip to content

Instantly share code, notes, and snippets.

@daveRendon
Last active May 11, 2024 23:13
Show Gist options
  • Save daveRendon/79fdf3fa30df2dcc7eca33452c213fae to your computer and use it in GitHub Desktop.
Save daveRendon/79fdf3fa30df2dcc7eca33452c213fae to your computer and use it in GitHub Desktop.
install-iis
powershell.exe Install-WindowsFeature -name Web-Server -IncludeManagementTools && powershell.exe remove-item "C:\\inetpub\\wwwroot\\iisstart.htm" && powershell.exe Add-Content -Path "C:\\inetpub\\wwwroot\\iisstart.htm" -Value $($env:computername)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment