Disable-WindowsFeature

Disables one or more optional Windows features.


Settings:

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

Note: If you check features here that are not present on the target system and therefore cannot be disabled, no error occurs at runtime. However, it is logged that the desired feature was not present.


Example:

In the following example, as recommended by Microsoft for security reasons, the Windows PowerShell 2.0 feature and all associated subfeatures are disabled.


Corresponds to DSM eScript command:

  • ---


See also: