change logging method, update nextcloud installer and url

This commit is contained in:
2020-09-10 13:28:30 -04:00
parent eec3875a10
commit 5694bd0842
4 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -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"