How to check if Windows Feature is installed and enabled with DISM.exe?

How to check if Windows Feature is installed and enabled with DISM.exe?


Solution 1:

The command you are looking for is

dism /online /get-features

You can also use

dism /online /get-featureinfo /featurename:XXXXX

Where XXXXX is the name of the specific feature you are after. E.g TelnetServer

Don't forget to use an elevated command prompt with DISM.