Check IIS is installed via regkey or Get-WindowsFeature

Published: 10/10/2019
Check IIS is installed via regkey or Get-WindowsFeature
Source: SERVERFAULT.COM

I would like to check if my VM is installed with IIS. Which method is more accurate? 1. Registry Editor Check for regfolder and regkey HKLM\Software\Microsoft\Inetstp -> Folder must exist HKLM\Software\Microsoft\Inetstp\VersionString -> Value must be valid 2. Get-WindowsFeature PS > (Get-WindowsFeature Web-Server).InstallState -eq "Installed" For Get-WindowsFeature , some VMs rep

Read more
Related news
Comment
FACEBOOK