if((Get-WindowsFeature Web-Server).InstallState -ne "Installed"){
Write-Host "Failed, IIS not installed " - ForegroundColor Red
break
}else{
Write-Host "Pass IIS is installed " -ForegroundColor Green
}
Last active
March 27, 2022 10:25
-
-
Save guimar86/44375e8315fad95c1ae6103531a3cef0 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment