init.ps1


# use this file to define global variables on module scope
# or perform other initialization procedures.
# this file will not be touched when new functions are exported to
# this module.

$global:EventLog = "RMMScript"
$global:EventSource = "undefined" 

$Global:ErrorCount = 0
$global:Output = "" # will contain the all output of the script, to be recorded in the last event recorded in "RMMScript"

$Global:nl = [System.Environment]::NewLine

$global:EventOK = $global:EventSource + "OK"
$global:EventERROR = $global:EventSource + "ERROR" 

$global:debug = $false