18 lines
720 B
PowerShell
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 |