I’ve got a box running Win2k3 and some directions from Microsoft KB about SSL certificates, for IIS 5.0 and 6.0. How can I tell which version of IIS is currently installed?
As a more general answer, not specifically aimed at your question, Microsoft has a support article which lists all old versions and the operating systems that provide each one.
IIS version Built-in
5.0 Windows 2000
5.1 Windows XP Pro
6.0 Windows Server 2003
7.0 Windows Vista and Windows Server 2008
7.5 Windows 7 and Windows Server 2008 R2
8.0 Windows 8 and Windows Server 2012
Current versions are on Wikipedia
8.5 Windows 8.1 and Windows Server 2012 R2
10.0 v1607 Windows Server 2016 and Windows 10.*
10.0 v1709 Windows Server 2016 v1709 and Windows 10.*
10.0 v1809 Windows Server 2019 and Windows 10.* October