Resource Type: dsc_windowsoptionalfeature

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

Overview

The DSC WindowsOptionalFeature resource type. Automatically generated from ‘PSDesiredStateConfiguration/DSCResources/MSFT_WindowsOptionalFeature/MSFT_WindowsOptionalFeature.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?
    • enable
    • disable

Parameters

  • dsc_customproperties

    CustomProperties

  • dsc_description

    Description

  • dsc_displayname

    DisplayName

  • dsc_ensure

    Ensure - Valid values are Enable, Disable.

  • dsc_loglevel

    LogLevel - Valid values are ErrorsOnly, ErrorsAndWarning, ErrorsAndWarningAndInformation.

  • dsc_logpath

    LogPath

  • dsc_name

    Name

  • dsc_nowindowsupdatecheck

    NoWindowsUpdateCheck

    Supported values:
    • true
    • false
  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_removefilesondisable

    RemoveFilesOnDisable

    Supported values:
    • true
    • false
  • dsc_source

    Source

  • name (namevar)
  • provider

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