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
PS > (Get-WindowsFeature Web-Server).InstallState -eq "Installed"
Get-WindowsFeature, some VMs reply back with InstallState as "Available". Does it mean the same?