Files
management-scripts/Install-EmberkomBackup.ps1
T

22 lines
912 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 = ""
)
#. 'C:\Users\dyoder\Emberkom\Data\Projects\development\management-scripts\Tools.ps1'
#$ClientShortName = "EK"
#$ClientLongName = "Emberkom"
#$ClientNotificationEmail = "notification@emberkom.com"
## 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
LogMsg $Arguments