powershell iis version get / check
|
get-itemproperty HKLM:\SOFTWARE\Microsoft\InetStp\ | select setupstring,versionstring |
windows 2008 R2
|
PS C:\Users\Administrator> get-itemproperty HKLM:\SOFTWARE\Microsoft\InetStp\ | select setupstring,versionstring SetupString VersionString ----------- ------------- IIS 7.5 Version 7.5 |
WINDOWS 2012
|
Windows PowerShell Copyright (C) 2016 Microsoft Corporation. All rights reserved. PS C:\Users\Administrator> get-itemproperty HKLM:\SOFTWARE\Microsoft\InetStp\ | select setupstring,versionstring SetupString VersionString ----------- ------------- IIS 8.5 Version 8.5 PS C:\Users\Administrator> |
WINDOWS 2016
|
PS C:\Users\Administrator> get-itemproperty HKLM:\SOFTWARE\Microsoft\InetStp\ | select setupstring,versionstring SetupString VersionString ----------- ------------- IIS 10.0 Version 10.0 PS C:\Users\Administrator> |