In trying to script-install IIS and configure it I tried DISM.exe with all the options, and also tried Powershell but it failed each time with error
0x80070bc9 in the c:\windows\logs\DISM\dism.txt.
Powershell gave error: "Installation of one or more roles, role services, or features failed. Error: 0x800f0922
The command was : "add-windowsfeature Web-Server, Web-WebServer, Web-Security, Web-Filtering, web-Cert-Auth, web-Client-Auth"
I need to run script (no GUI) to install IIS and configure it. Any help on why DISM.exe is failing on Win 2012 R2?