Resource Type: dsc_windowseventlog

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

Overview

The DSC WindowsEventLog resource type. Automatically generated from ‘ComputerManagementDsc/DSCResources/MSFT_WindowsEventLog/MSFT_WindowsEventLog.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_isenabled

    IsEnabled - Specifies the given state of a Windows Event Log

    Supported values:
    • true
    • false
  • dsc_logfilepath

    LogFilePath - Specifies the given LogFile path of a Windows Event Log

  • dsc_logmode

    LogMode - Specifies the given LogMode for a specified Windows Event Log Valid values are AutoBackup, Circular, Retain.

  • dsc_logname

    LogName - Specifies the given name of a Windows Event Log

  • dsc_logretentiondays

    LogRetentionDays - Specifies the given LogRetentionDays for the Logmode ‘AutoBackup’

  • dsc_maximumsizeinbytes

    MaximumSizeInBytes - Specifies the given maximum size in bytes for a specified Windows Event Log

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_securitydescriptor

    SecurityDescriptor - Specifies the given SecurityDescriptor for a specified Windows Event Log

  • name (namevar)
  • provider

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