How To Check IIS Version From Command Prompt

Query King | Mon, 29 Jan 2018 at 06:31 hours | Replies : 4 | Points : 100

Category : MicroSoft IIS


How to Check IIS version from Command Prompt


This Question is already solved Click To See The Answer


Hi User,

Please use below powershell command to check the iis version:

[System.Diagnostics.FileVersionInfo]::GetVersionInfo("$env:SystemRoot\system32\inetsrv\InetMgr.exe").ProductVersion

Hi,

you can try to read registry value to read IIS version. 

Go to Command prompt and Run below Command.

Reg Query \\ServerName\HKLM\SOFTWARE\Microsoft\InetStp /v VersionString

Hi Santosh,

 

Thanks, Although I was look for Dos Command but its also helped a lot.