Resource Type: dsc_accountpolicy

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

Overview

The DSC AccountPolicy resource type. Automatically generated from ‘SecurityPolicyDsc/DSCResources/MSFT_AccountPolicy/MSFT_AccountPolicy.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_account_lockout_duration

    Account_lockout_duration

  • dsc_account_lockout_threshold

    Account_lockout_threshold

  • dsc_enforce_password_history

    Enforce_password_history

  • dsc_enforce_user_logon_restrictions

    Enforce_user_logon_restrictions - Valid values are Enabled, Disabled.

  • dsc_maximum_lifetime_for_service_ticket

    Maximum_lifetime_for_service_ticket

  • dsc_maximum_lifetime_for_user_ticket

    Maximum_lifetime_for_user_ticket

  • dsc_maximum_lifetime_for_user_ticket_renewal

    Maximum_lifetime_for_user_ticket_renewal

  • dsc_maximum_password_age

    Maximum_Password_Age

  • dsc_maximum_tolerance_for_computer_clock_synchronization

    Maximum_tolerance_for_computer_clock_synchronization

  • dsc_minimum_password_age

    Minimum_Password_Age

  • dsc_minimum_password_length

    Minimum_Password_Length

  • dsc_name

    Name - A unique name of the AccountPolicy resource instance. This is not used during configuration.

  • dsc_password_must_meet_complexity_requirements

    Password_must_meet_complexity_requirements - Valid values are Enabled, Disabled.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_reset_account_lockout_counter_after

    Reset_account_lockout_counter_after

  • dsc_store_passwords_using_reversible_encryption

    Store_passwords_using_reversible_encryption - Valid values are Enabled, Disabled.

  • name (namevar)
  • provider

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