Public/Install-ChangeEmailAgentLogging.ps1
<# .DESCRIPTION Installs the event log for the ChangeEmailAgent module, which is required for logging events during the execution of the module's functions. .SYNOPSIS Installs the event log for ChangeEmailAgent. .EXAMPLE # Run as administrator Install-ChangeEmailAgentLogging #> function Install-ChangeEmailAgentLogging { [CmdletBinding()] Param() Process { New-EventLog -LogName "Application" -Source "ChangeEmailAgent" } } |