I followed Installation Guide for Sitecore 9 Initial Release and I found out that Sitecore Installation Framework is not working with Windows 2012 R2. Why I am writing about it ? Because Sitecore documentation is not that clear.
It says in section 2.1 Sitecore Hosting Environment Requirement that Sitecore 9 will work with IIS 8.5 and Windows Server 2012 R2 (64-bit). Later in documentation, section 5.1 Install Prerequisites is says : Important. The Sitecore Fundamentals module does not support IIS 8.0 or 8.5. The root cause is Power Shell PKI module 220.127.116.11 that reference to IIS dll.
And don’t forget to install Microsoft PoweShell version 5.1 even if documentation says 5.0 or later.
PS. Finally I mange to install Sitecore 9 on Windows 2012 R2 – you can check steps here – Sitecore 9 Initial Release on Windows Server 2012 R2 SIF – part 2