Enable-WindowsFeature

Enables one or more optional Windows features.


Settings:

  • Select the check boxes of the Windows features you want to enable.

Note: If you check features here that are not available on the target system and therefore cannot be activated, an error will occur at runtime. You can use the "Continue on error" option to specify that the script should continue to be executed anyway.


Example:

In the following example, the "Message Queing" and "TCP Activation" subfeatures of the .NET Framework 4.8 Advanced Services feature are enabled.


Corresponds to DSM eScript command:

  • ---


See also: