< Back

Set-EventDebug

Fri Jan 10, 2020 7:52 pm

NAME Set-EventDebug



SYNOPSIS

Set the debug level





SYNTAX

Set-EventDebug [[-debugParam] <Object>] [<CommonParameters>]





DESCRIPTION

If set to $true (default is $false) then every information or error message is recorded individualy in the

eventlog "RMMScript"

If set to $false (default) thenall messages are recorded in a final event in the eventlog "RMMScript"





PARAMETERS

-debugParam <Object>



Required? false

Position? 1

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-Debug $true















RELATED LINKS