change logging method, update nextcloud installer and url
This commit is contained in:
@@ -25,7 +25,7 @@ If ( !(Test-Path $MSPLogs) )
|
||||
Function Log
|
||||
{
|
||||
param([string]$Message,[string]$LogName)
|
||||
$LogEntry = "{0} - {1}" -f (Get-Date -Format "yyyy-MM-dd HH:mm:ss"),$Message
|
||||
$LogEntry = "{0} - {1}" -f (Get-Date -Format "yyyy-MM-dd HH:mm:ss"), $Message
|
||||
If ($LogName )
|
||||
{
|
||||
$LogFile = "${MSPLogs}\${LogFilePrefix}-${LogName}.log"
|
||||
|
||||
Reference in New Issue
Block a user