1

Where does the Dism /online /Get-Features read the list of features from? For example: which files or directories.

2 Answers2

0

it seems that it finds the names of the packages in the image. If you don't specify a package name or path, all features in the image will be listed.

/PackageName is a package in an image. You can use /DISM Get-Packages to see the package names in an image. /PackagePath can point to either a .cab file or a folder.

0

It gets the list of features from the Microsoft-Windows-Foundation-Package.

Dism /online /Get-Features actually matches Dism /online /Get-PackageInfo /PackageName:Microsoft-Windows-Foundation-Package~$id~$arch~~$version

You'll find the values of $id, $arch and $version under Features listing for package: at the beginning of the output of Dism /online /Get-Features

xchange
  • 101