Zend certified PHP/Magento developer

How does the `Dism /online /Get-Features` command work internally?

Goal of the question:
Would like to know the internal working of the command Dism /online /Get-Features to be able to understand the following:

  1. How does it check for the list of available/known/optional features.
  2. Which files, packages, directories, registry settings, configurations, or database files (or shim db files etc.), or any other filesystem/network resources are accessed to check for the features.
  3. If it reports a feature as unknown, what are the steps needed to force it to recognize that feature.