Install Windows Optional Feature
This object allows you to install additional features (Examples : IIs, BitLocker, etc). Note that does not work on all operating systems due to restrictions in the feature's installation capabilities.
Privileges
Normal
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
Feature name | String | Yes | This is the name of the feature to be installed. |
Install parent features if needed | Boolean | No | Boolean indicating that this option will force Windows to install any parent feature required for the selected feature to work, if necessary. If this is not selected, and the installation requires the missing parent, the installation will fail. |
Output Parameters
Name | Type | Description |
---|---|---|
Restart Needed | String | This will return True if a restart is needed after installing the feature, and will return False if no restart is needed. |
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Result String | String | Object execution error details. |
Example Input Parameters
Name | Type | Required | Example |
---|---|---|---|
Feature name | String | Yes | BitLocker |
Install parent features if needed | Boolean | No | True |
Example Output Parameters
Name | Type | Example |
---|---|---|
Restart Needed | String | True |