Resource Type: dsc_script

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

Overview

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

Parameters

  • dsc_credential

    Credential

  • dsc_getscript

    GetScript

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_result

    Result

  • dsc_setscript

    SetScript

  • dsc_testscript

    TestScript

  • name (namevar)
  • provider

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