EnableFeature

To enable Windows Optional Features, use the EnableFeature parameter. You will be prompted to select Features to enable

New-OSBuildTask -TaskName SeguraOSD -EnableFeature

Task JSON

"EnableWindowsOptionalFeature":  [
"Microsoft-Windows-Subsystem-Linux"
],

Last updated