Files
management-scripts/Install-EmberkomBackup.ps1
T
2020-11-13 09:32:19 -05:00

18 lines
720 B
PowerShell

## Inputs are RMM defined variables
## If your RMM does not define these variables, you'll need to specify them as default values
param(
[string]$ClientShortName = "",
[string]$ClientLongName = "",
[string]$ClientNotificationEmail = ""
)
## URL to download the branded WholesaleBackup installer
$URL = "http://downloads.backupops.com/4Windows/${MSPName}Backup_installer.exe"
## Silent installation options
$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
Write-Host $Arguments