Optional components in Windows are, for example, IIS, telnet server/client, SNMP, etc. In Windows 7 GUI they are installed through Control Panel -> Programs and Features -> Turn Windows features on or off.
On command line you can install them using ocsetup
utility, but you have to know the component name for that. E.g. ocsetup TelnetServer
.
So the question is how to list all not/installed optional component names on command line?