Last active
May 11, 2024 23:13
-
-
Save daveRendon/79fdf3fa30df2dcc7eca33452c213fae to your computer and use it in GitHub Desktop.
install-iis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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