Public/ps1/Log/Get-LeftConnectLog.ps1
function Get-LeftConnectLog { param( [switch]$watching ) if ($LogManagement -ne $null){ $logFile = $LogManagement.LogFolder if ($watching) { Get-Content $logFile -Wait } else { get-content $logFile } } } |