Files
management-scripts/Install-EmberkomBackup.ps1
T
2020-11-07 20:31:32 -05:00

16 lines
700 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