I have tried to use pkgmgr script as described in the following link: http://technet.microsoft.com/en-us/library/cc725762.aspx to enable IIS features. The scripts ran with no error but failed to update any feature. I ran this script under elevated Cmd prompt.
However if I enable the Internet Information Services node in Turn Windows Features on or off in control panel first (even removing all child node features) and then run the script, the script is able successfully enable the features.
Is there any specific cmd to enable Internet Information Services first in script which is not mentioned in above link?
Thanks