For those of you that used Server Core in Windows Server 2008 you may be familiar with the Oclist.exe tool. This tool was included in Server Core to provide a way to obtain a list of roles and features on Server Core and their installation state. In Windows Server 2008 R2 a new tool, Dism.exe, was introduced for adding/removing roles and features and included the capability to provide the list of roles and features as well as installation state by running:
Dism /online /get-features /format:table
In the Server Core documentation we changed to using Dism.exe for Windows Server 2008 R2. Because Dism.exe is an integrated command line tool for all tasks related to optional roles and features and provides additional formating options for its output, in the next release we are planning to remove Oclist.exe from Server Core.
If there are any concerns with this change, please post a comment or email firstname.lastname@example.org.
What about OCsetup.exe command? is it still available on Server Core R2?
Yes, OCsetup.exe is still available on Server Core 2008 R2.
What about establishing a command line standard and staying with it. Over time this will give MS more loyalty. Having to learn a new set of commands with each major release is a major pain in the script.