update parameters so they don't collide with RMM variables

This commit is contained in:
2020-11-17 12:31:22 -05:00
parent 6d5588399d
commit 6c00a66da1
+4 -4
View File
@@ -1,16 +1,16 @@
## 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 = ""
[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 ""${ClientShortName}_${Env:COMPUTERNAME}"" /WORG ""${ClientLongName}"" /WEMAIL ""${ClientNotificationEmail}"""
$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