Resource Type: dsc_spfeature

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

Overview

The DSC SPFeature resource type. Automatically generated from ‘SharePointDsc/DSCResources/MSFT_SPFeature/MSFT_SPFeature.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_ensure

    Ensure - Present if the feature is to be enabled, Absent if it is to be disabled Valid values are Present, Absent.

  • dsc_featurescope

    FeatureScope - The scope to change the feature at - Farm, WebApplication, SiteCollection or Site Valid values are Farm, WebApplication, Site, Web.

  • dsc_installaccount

    InstallAccount - POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

  • dsc_name

    Name - The name of the feature

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_url

    Url - The URL to change the feature at

  • dsc_version

    Version - The version of the feature to check against

  • name (namevar)
  • provider

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