This commit is contained in:
2021-09-12 13:56:16 -04:00
parent 01d65a5274
commit 746111a54c
5 changed files with 12 additions and 1 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ If ( $INSTALL ) {
## Install the agent
LogMsg "Installing Atera agent"
Try { Start-Process "msiexec.exe" -ArgumentList "/i ""${AGENT_INSTALLER}"" /qn /norestart" -Wait }
#Try { Start-Process "msiexec.exe" -ArgumentList "/i ""${AGENT_INSTALLER}"" /qn /norestart" -Wait }
Try { Start-Process "msiexec.exe" -ArgumentList "/i ""${AGENT_INSTALLER}"" /qn /norestart INTEGRATORLOGIN=${INTEGRATOR_ID} COMPANYID=${CUSTOMER_ID}" -Wait }
Catch { LogErr $_.Exception.Message }
## Delete the agent installer
+2
View File
@@ -0,0 +1,2 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://git.io/JUSAA')+'Install-MSP360Module')
+4
View File
@@ -0,0 +1,4 @@
Import-Module -Name msp360
## Set the agent edition to Desktop
Set-MBSAgentSetting -Edition desktop
+2
View File
@@ -0,0 +1,2 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
Run-Script -LivePSScript Install-MSP360PowershellModule
+2
View File
@@ -0,0 +1,2 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
Run-Script -LivePSScript Set-MSP360EditionDesktop