Public/Install-CheckIDPasswordAgentLogging.ps1

<#
.DESCRIPTION
    Installs the event log for the CheckIDPasswordAgent module, which is required for logging events during the execution of the module's functions.

.SYNOPSIS
    Installs the event log for CheckIDPasswordAgent.

.EXAMPLE
    # Run as administrator
    Install-CheckIDPasswordAgentLogging
#>

function Install-CheckIDPasswordAgentLogging {
    [CmdletBinding()]

    Param()

    Process {
        New-EventLog -LogName "Application" -Source "CheckIDPasswordAgent"
    }
}