Resource Type: dsc_xwindowsfeature

Defined in:
lib/puppet/type/dsc_xwindowsfeature.rb
Providers:
powershell

Overview

The DSC xWindowsFeature resource type. Automatically generated from ‘xPSDesiredStateConfiguration/DSCResources/MSFT_xWindowsFeature/MSFT_xWindowsFeature.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present
    • absent

Parameters

  • dsc_credential

    Credential - A credential, if needed, to install or uninstall the role or feature.

  • dsc_displayname

    DisplayName - The display name of the retrieved role or feature.

  • dsc_ensure

    Ensure - Specifies whether the role or feature should be installed or uninstalled. To install the feature, set this property to Present. To uninstall the feature, set the property to Absent. Valid values are Present, Absent.

  • dsc_includeallsubfeature

    IncludeAllSubFeature - Specifies whether the subfeatures of the main feature should also be installed.

    Supported values:
    • true
    • false
  • dsc_logpath

    LogPath - The path to the log file to log this operation.

  • dsc_name

    Name - The name of the role or feature to install or uninstall.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_xwindowsfeature` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.