Resource Type: dsc_xpowershellexecutionpolicy

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

Overview

The DSC xPowerShellExecutionPolicy resource type. Automatically generated from ‘xPowerShellExecutionPolicy/DSCResources/MSFT_xPowerShellExecutionPolicy/MSFT_xPowerShellExecutionPolicy.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_executionpolicy

    ExecutionPolicy - Changes the user preference for the Windows PowerShell execution policy. Valid values are Bypass, Restricted, AllSigned, RemoteSigned, Unrestricted.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • name (namevar)
  • provider

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