Skip to content

Commit 93c783f

Browse files
Commit issue
1 parent c82b927 commit 93c783f

10 files changed

Lines changed: 184 additions & 25 deletions

AMPs/Update PartnerConfig from CP.amp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Policy ID="614f122a-c58f-43ee-89b3-3badef635bc8" Name="Update PartnerConfig from CP" Description="UmVmcmVzaGVzIHRoZSBSZWdpc3RyYXRpb25Ub2tlbiBmb3IgaW5zdGFsbGluZyB2aWEgdGhlIE4tQ2VudHJhbCBHUE8gZnJvbSBDdXN0b21lciBQcm9wZXJ0aWVz" Version="2.10.0.19" RemoteCategory="0" ExecutionType="Local" MinimumPSVersionRequired="0.0.0">
2-
<Object ID="{a77c259c-4e88-437a-8f2d-d927c1ee8653}" Type="{B6FA6D8B-EEAA-47A6-8463-7F9A4F5BBB6E}" Data="&lt;xml&gt;&lt;Parameters&gt;&lt;Parameter ParameterName=&quot;RegistrationToken&quot; Label=&quot;Registration Token&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;Parameter ParameterName=&quot;CustomerID&quot; Label=&quot;Customer ID&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;Parameter ParameterName=&quot;LocalFolder&quot; Label=&quot;Local Folder&quot; ParameterType=&quot;string&quot; Value=&quot;C:\Windows\SecurityThroughObscurity&quot; /&gt;&lt;Parameter ParameterName=&quot;NetworkFolder&quot; Label=&quot;Network Folder&quot; ParameterType=&quot;string&quot; Value=&quot;Agent&quot; /&gt;&lt;Parameter ParameterName=&quot;SOAgentFileName&quot; Label=&quot;SO Agent File Name&quot; ParameterType=&quot;string&quot; Value=&quot;WindowsAgentSetup.exe&quot; /&gt;&lt;Parameter ParameterName=&quot;SOAgentVersion&quot; Label=&quot;SO Agent Version&quot; ParameterType=&quot;string&quot; Value=&quot;2020.1.0.202&quot; /&gt;&lt;Parameter ParameterName=&quot;SOAgentFileVersion&quot; Label=&quot;SO Agent File Version&quot; ParameterType=&quot;string&quot; Value=&quot;2020.1.1202.0&quot; /&gt;&lt;Parameter ParameterName=&quot;Branding&quot; Label=&quot;Branding&quot; ParameterType=&quot;string&quot; Value=&quot;My MSP @ MSP.com&quot; /&gt;&lt;Parameter ParameterName=&quot;AzNableProxyUri&quot; Label=&quot;AzNableProxyUri&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;Parameter ParameterName=&quot;AzNableAuthCode&quot; Label=&quot;AzNableAuthCode&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;/Parameters&gt;&lt;/xml&gt;" />
2+
<Object ID="{bfe4d5f8-2bb7-4c76-a258-8a87977ca882}" Type="{B6FA6D8B-EEAA-47A6-8463-7F9A4F5BBB6E}" Data="&lt;xml&gt;&lt;Parameters&gt;&lt;Parameter ParameterName=&quot;RegistrationToken&quot; Label=&quot;Registration Token&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;Parameter ParameterName=&quot;CustomerID&quot; Label=&quot;Customer ID&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;Parameter ParameterName=&quot;LocalFolder&quot; Label=&quot;Local Folder&quot; ParameterType=&quot;string&quot; Value=&quot;C:\Windows\SecurityThroughObscurity&quot; /&gt;&lt;Parameter ParameterName=&quot;NetworkFolder&quot; Label=&quot;Network Folder&quot; ParameterType=&quot;string&quot; Value=&quot;Agent&quot; /&gt;&lt;Parameter ParameterName=&quot;SOAgentFileName&quot; Label=&quot;SO Agent File Name&quot; ParameterType=&quot;string&quot; Value=&quot;WindowsAgentSetup.exe&quot; /&gt;&lt;Parameter ParameterName=&quot;SOAgentVersion&quot; Label=&quot;SO Agent Version&quot; ParameterType=&quot;string&quot; Value=&quot;2020.1.5.425&quot; /&gt;&lt;Parameter ParameterName=&quot;SOAgentFileVersion&quot; Label=&quot;SO Agent File Version&quot; ParameterType=&quot;string&quot; Value=&quot;2020.1.50425.0&quot; /&gt;&lt;Parameter ParameterName=&quot;Branding&quot; Label=&quot;Branding&quot; ParameterType=&quot;string&quot; Value=&quot;My MSP @ MSP.com&quot; /&gt;&lt;Parameter ParameterName=&quot;AzNableProxyUri&quot; Label=&quot;AzNableProxyUri&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;Parameter ParameterName=&quot;AzNableAuthCode&quot; Label=&quot;AzNableAuthCode&quot; ParameterType=&quot;string&quot; Value=&quot;&quot; /&gt;&lt;/Parameters&gt;&lt;/xml&gt;" />
33
<LinkManager xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PolicyExecutor">
44
<hashset xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" />
55
</LinkManager>

Agent/PartnerConfig.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ help@mymsp.com
9797
<SOAgentFileName>WindowsAgentSetup.exe</SOAgentFileName> <!-- Default Value is WindowsAgentSetup.exe -->
9898
<!-- [REQUIRED - (#.#.#.#)] Desired Agent Version for Installation on systems with Current
9999
Agent Versions (11.0.1.xxxx and Above) -->
100-
<SOAgentVersion>12.0.1.118</SOAgentVersion>
100+
<SOAgentVersion>2020.1.5.425</SOAgentVersion>
101101
<!-- [REQUIRED - (#.#.#.#)] Windows "File Version" of the System-Level Agent Installer (from
102102
Properties > Details > File Version) -->
103-
<SOAgentFileVersion>12.0.10118.0</SOAgentFileVersion>
103+
<SOAgentFileVersion>2020.1.50425.0</SOAgentFileVersion>
104104
<!-- [RECOMMENDED] ### CustomerID in number format. Normally this number starts from 100. If no arguments are given to the script, or NoArgs is set to 1 in the batch, this value is REQUIRED-->
105105
<CustomerId></CustomerId>
106106
<!-- ########### Registration token is a Base64 encoded string. This is customer specific and can has an expiration time. Check your nCentral configuration to make shure when this expires. If AzNableProxy isn't used, and it isn't passed as an argument this is REQUIRED. -->

Customer Service Package/Agent Installer .xml

Lines changed: 159 additions & 0 deletions
Large diffs are not rendered by default.

Customer Service Package/Agent Installer v6.amp

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

Customer Service Package/CustomService.ps1

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ $AgentRegPath = "HKLM:\SOFTWARE\Solarwinds MSP Community\InstallAgent"
1616
$InstallAgentResults = ReadKey $AgentRegPath
1717

1818
# These value is almost always present
19-
$AgentLastDiagnosed = $InstallAgentResults.AgentLastDiagnosed
19+
$AgentLastDiagnosed = if ($null -ne $InstallAgentResults.AgentLastDiagnosed) { $InstallAgentResults.AgentLastDiagnosed }else { Get-Date 1900 }
2020

2121
# This value is present if the script has installed or upgraded at some point
22-
$AgentLastInstalled = $InstallAgentResults.AgentLastInstalled
22+
$AgentLastInstalled = if ($null -ne $InstallAgentResults.AgentLastInstalled) { $InstallAgentResults.AgentLastInstalled } else { Get-Date 1900 }
2323

2424
# These values are always present
25-
$ScriptAction = $InstallAgentResults.ScriptAction
26-
$ScriptExitCode = $InstallAgentResults.ScriptExitCode
27-
$ScriptLastRan = $InstallAgentResults.ScriptLastRan
28-
$ScriptMode = $InstallAgentResults.ScriptMode
29-
$ScriptResult = $InstallAgentResults.ScriptResult
30-
$ScriptSequence = $InstallAgentResults.ScriptSequence
31-
$ScriptVersion = [int]$InstallAgentResults.ScriptVersion.Replace('.','')
25+
$ScriptAction = if ($null -ne $InstallAgentResults.ScriptAction) { $InstallAgentResults.ScriptAction } else { '-' }
26+
$ScriptExitCode = if ($null -ne $InstallAgentResults.ScriptExitCode) { $null -ne $InstallAgentResults.ScriptExitCode } else { 404 }
27+
$ScriptLastRan = if ($null -ne $InstallAgentResults.ScriptLastRan) { $InstallAgentResults.ScriptLastRan } else { Get-Date 1900 }
28+
$ScriptMode = if ($null -ne $InstallAgentResults.ScriptMode) { $InstallAgentResults.ScriptMode } else { '-' }
29+
$ScriptResult = if ($null -ne $InstallAgentResults.ScriptResult) { $InstallAgentResults.ScriptSequence } else { '-' }
30+
$ScriptSequence = if ($null -ne $InstallAgentResults.ScriptSequence) { $InstallAgentResults.ScriptSequence } else { '-' }
31+
$ScriptVersion = if ($null -ne $InstallAgentResults.ScriptVersion) { [int]$InstallAgentResults.ScriptVersion.Replace('.', '') } else { 404 }

media/readme-image0.png

2.28 KB
Loading

media/readme-image10.png

26.5 KB
Loading

media/readme-image11.png

28.6 KB
Loading

media/readme-image3.png

-46.2 KB
Loading

media/readme-image9.png

28.5 KB
Loading

0 commit comments

Comments
 (0)