Resource Type: dsc_windowsfeature

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

Overview

The DSC WindowsFeature resource type. Automatically generated from ‘PSDesiredStateConfiguration/DSCResources/MSFT_RoleResource/MSFT_RoleResource.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

  • dsc_displayname

    DisplayName

  • dsc_ensure

    Ensure - An enumerated value that describes if the role or feature is expected to be installed on not on the machine.nPresent default nAbsent n Valid values are Present, Absent.

  • dsc_includeallsubfeature

    IncludeAllSubFeature

    Supported values:
    • true
    • false
  • dsc_logpath

    LogPath

  • dsc_name

    Name

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_source

    Source

  • name (namevar)
  • provider

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