Files
management-scripts/Install-EmberkomBackup.ps1
T

18 lines
688 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]$ClientShort = "",
[string]$ClientLong = "",
[string]$NotificationEmail = ""
)
## 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 ""${ClientShort}_${Env:COMPUTERNAME}"" /WORG ""${ClientLong}"" /WEMAIL ""${NotificationEmail}"""
## Install Emberkom Backup
#Install-Program -Path $(Download-File -URL $URL) -Arguments $Arguments -Delete
LogMsg $Arguments