This commit is contained in:
2020-11-13 09:32:19 -05:00
parent a9a542ec2c
commit bbb6775f3d
2 changed files with 7 additions and 7 deletions
+3 -1
View File
@@ -13,4 +13,6 @@ $URL = "http://downloads.backupops.com/4Windows/${MSPName}Backup_installer.exe"
$Arguments = "/SP- /VERYSILENT /NORESTART /WPUSH /WACCOUNT ""${ClientShortName}_${Env:COMPUTERNAME}"" /WORG ""${ClientLongName}"" /WEMAIL ""${ClientNotificationEmail}"""
## Install Emberkom Backup
Install-Program -Path $(Download-File -URL $URL) -Arguments "${Arguments}" -Delete
#Install-Program -Path $(Download-File -URL $URL) -Arguments $Arguments -Delete
Write-Host $Arguments
+4 -6
View File
@@ -1,7 +1,5 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
## Stop the DeltekVision process
Remediation-StopProcess -Name "DeltekVision" -Force
## Stop the DeltekVision process
End-Process -Name "DeltekVision" -Force
## Set the path to Deltek Vision
$APP_PATH = "${Env:UserProfile}\AppData\Local\Apps\2.0"
@@ -11,6 +9,6 @@ If ( Test-Path $APP_PATH )
{
## Delete the existing installed app
Try { Remove-Item $APP_PATH -Recurse -Force }
Catch { Write-Output $_.Exception.Message }
Catch { LogErr $_.Exception.Message }
} Else { Write-Output "${APP_PATH} does not exist!" }
} Else { LogMsg "${APP_PATH} does not exist!" }