Write Log

From psadt | Evergreen Application Management
Jump to navigation Jump to search

About

Powershell.png

Powershell function to write to a log.


Function

#region Function
Function WriteLog
    {
	Param ([string]$logstring)
	Add-content $appLogFile -value $logstring
	Write-Host $logstring
    }
#endregion