Skip to content

Commit eafea31

Browse files
committed
Update to v4.0.5 📦 📫
1 parent 16b555d commit eafea31

File tree

7 files changed

+134
-15686
lines changed

7 files changed

+134
-15686
lines changed

DataCollector/DataCollector.ps1

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
https://github.com/blakedrumm/SCOM-Scripts-and-SQL
179179
180180
.VERSION
181-
v4.0.4 - May 7th, 2024
181+
v4.0.5 - May 9th, 2024
182182
#>
183183
[CmdletBinding(HelpUri = 'https://blakedrumm.com/blog/scom-data-collector/')]
184184
[OutputType([string])]
@@ -1073,7 +1073,7 @@ function Start-ScomDataCollector
10731073
try
10741074
{
10751075
$UNIXAgentPools = (Import-Csv "$OutputPath\UNIX_Agents.csv" -ErrorAction Stop).ResourcePool | Select-Object -Unique
1076-
$UNIXManagementServer = (Import-Csv "$OutputPath\ResourcePools.csv" -ErrorAction Stop | Where-Object { $_.ResourcePool -in $UNIXAgentPools -and $SCXResourcePools -contains $_.ResourcePool}).Member
1076+
$UNIXManagementServer = (Import-Csv "$OutputPath\ResourcePools.csv" -ErrorAction Stop | Where-Object { $_.ResourcePool -in $UNIXAgentPools -or $SCXResourcePools -contains $_.ResourcePool }).Member
10771077
}
10781078
catch
10791079
{
@@ -1091,13 +1091,21 @@ function Start-ScomDataCollector
10911091
Write-Output "================================`nGathering SCX WinRM data (UNIX/Linux)"
10921092
. $ScriptPath`\Functions\Linux-WinRM-Tests.ps1
10931093
Write-Console " Gathering Linux Agent Data from: $($SCXAgents -join ", ")" -ForegroundColor Green
1094-
if ($SCXWinRMEnumerateAllClasses)
1094+
try
10951095
{
1096-
Invoke-SCXWinRMEnumeration -OriginServer $UNIXManagementServer -ComputerName $SCXAgents -Credential $SCXWinRMCredentials -EnumerateAllClasses -OutputType Text -OutputFile $OutputPath\SCX_WinRM_Queries -PassThru | Out-Null
1096+
if ($SCXWinRMEnumerateAllClasses)
1097+
{
1098+
Invoke-SCXWinRMEnumeration -ErrorAction Stop -OriginServer $UNIXManagementServer -ComputerName $SCXAgents -Credential $SCXWinRMCredentials -EnumerateAllClasses -OutputType Text -OutputFile $OutputPath\SCX_WinRM_Queries -PassThru | Out-Null
1099+
}
1100+
else
1101+
{
1102+
Invoke-SCXWinRMEnumeration -ErrorAction Stop -OriginServer $UNIXManagementServer -ComputerName $SCXAgents -Credential $SCXWinRMCredentials -Classes $SCXWinRMEnumerateSpecificClasses -OutputType Text -OutputFile $OutputPath\SCX_WinRM_Queries -PassThru | Out-Null
1103+
}
10971104
}
1098-
else
1105+
catch
10991106
{
1100-
Invoke-SCXWinRMEnumeration -OriginServer $UNIXManagementServer -ComputerName $SCXAgents -Credential $SCXWinRMCredentials -Classes $SCXWinRMEnumerateSpecificClasses -OutputType Text -OutputFile $OutputPath\SCX_WinRM_Queries -PassThru | Out-Null
1107+
"$(Invoke-TimeStamp)Unable to gather SCX WinRM related data from: $($SCXAgents -join ", ")`nActual Error: $_" | Out-File $OutputPath\Error.log -Append
1108+
Write-Console "Unable to gather SCX WinRM related data from: $($SCXAgents -join ", ")`nActual Error: $_" -ForegroundColor Red
11011109
}
11021110
}
11031111
else

DataCollector/Functions/Builtin-Menu.ps1

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

DataCollector/Functions/ProductVersions/ProductVersion.ps1

Lines changed: 45 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Get-ProductVersion
1010
)
1111

1212
#Last Updated SQL Server List on: March 22nd, 2024
13-
#Last Updated SCOM Version List on: April 6th, 2024
13+
#Last Updated SCOM Version List on: May 9th, 2024
1414
#Last Updated SSRS Version List on: March 22nd, 2024
1515
$matched = $false
1616
if ($Product -eq 'SCOM')
@@ -43,16 +43,18 @@ function Get-ProductVersion
4343
<#
4444
System Center Operations Manager 2022 Versions
4545
#>
46-
'10.22.1072.0' { "FIPS Crypto Policy Support - 1.9.0-0 / 2024 April"; $matched = $true } #SCX Agent
47-
'10.22.1070.0' { "Update Rollup 2 - Hotfix - 1.8.1-0 / 2024 March"; $matched = $true } #SCX Agent
46+
'10.22.10684.0' { "SCOM 2022 Update Rollup 2 Hotfix - Introduces support for crypto policies in FIPS mode, specifically tailored for users monitoring Linux workloads / 2024 April"; $matched = $true }
47+
'10.22.1072.0' { "SCOM 2022 FIPS Crypto Policy Support - 1.9.0-0 / 2024 April"; $matched = $true } #SCX Agent
48+
'10.22.1070.0' { "SCOM 2022 Update Rollup 2 - Hotfix - 1.8.1-0 / 2024 March"; $matched = $true } #SCX Agent
49+
'10.22.10618.0' { "SCOM 2022 Update Rollup 2 Hotfix - Addresses Linux monitoring issues / 2023 December"; $matched = $true }
4850
'10.22.10208.0' { "SCOM 2022 Update Rollup 2 / 2023 November"; $matched = $true } #Agent
49-
'10.22.10610.0' { "Update Rollup 2 / 2023 November "; $matched = $true }
50-
'10.22.1055.0' { "OMI Vulnerability Fix - 1.7.3-0 / 2023 November"; $matched = $true } #SCX Agent
51-
'10.22.1052.0' { "Update Rollup 1 - Hotfix - 1.7.1-0 / 2023 August"; $matched = $true } #SCX Agent
52-
'10.22.10560.0' { "SCX Compiler Mitigated Packages / 2023 August"; $matched = $true } #SCX Agent
53-
'10.22.10565.0' { "Discover Azure Migrate in Operations Manager / 2023 July"; $matched = $true }
54-
'10.22.10575.0' { "GB compliance / 2023 July"; $matched = $true }
55-
'10.22.1044.0' { "Update Rollup 1 - OpenSSL 3.0 - 1.7.0-0 / 2023 March"; $matched = $true } #SCX Agent
51+
'10.22.10610.0' { "SCOM 2022 Update Rollup 2 / 2023 November "; $matched = $true }
52+
'10.22.1055.0' { "SCOM 2022 OMI Vulnerability Fix - 1.7.3-0 / 2023 November"; $matched = $true } #SCX Agent
53+
'10.22.1052.0' { "SCOM 2022 Update Rollup 1 - Hotfix - 1.7.1-0 / 2023 August"; $matched = $true } #SCX Agent
54+
'10.22.10560.0' { "SCOM 2022 SCX Compiler Mitigated Packages / 2023 August"; $matched = $true } #SCX Agent
55+
'10.22.10565.0' { "SCOM 2022 Discover Azure Migrate in Operations Manager / 2023 July"; $matched = $true }
56+
'10.22.10575.0' { "SCOM 2022 GB compliance / 2023 July"; $matched = $true }
57+
'10.22.1044.0' { "SCOM 2022 Update Rollup 1 - OpenSSL 3.0 - 1.7.0-0 / 2023 March"; $matched = $true } #SCX Agent
5658
'10.22.1042.0' { "SCOM 2022 Update Rollup 1 - Hotfix - 1.6.12-1 / 2023 February"; $matched = $true } #SCX Agent
5759
'10.22.1039.0' { "SCOM 2022 Update Rollup 1 - 1.6.11-0 / 2022 December"; $matched = $true } #SCX Agent
5860
'10.22.10337.0' { "SCOM 2022 Update Rollup 1 - Console Hotfix / 2022 December"; $matched = $true }
@@ -66,22 +68,23 @@ function Get-ProductVersion
6668
<#
6769
System Center Operations Manager 2019 Versions
6870
#>
69-
'10.19.1254.0' { "FIPS Crypto Policy Support - 1.9.0-0 / 2024 April"; $matched = $true } #SCX Agent
70-
'10.19.1253.0' { "Update Rollup 6 - 1.8.1-0 / 2024 March"; $matched = $true } #SCX Agent
71-
'10.19.10253.0' { "Update Rollup 6 / 2024 March"; $matched = $true } #Agent
72-
'10.19.10649.0' { "Update Rollup 6 / 2024 March"; $matched = $true }
73-
'10.19.1234.0' { "OMI Vulnerability Fix - 1.7.3-0 / 2023 November"; $matched = $true } #SCX Agent
74-
'10.19.1226.0' { "Update Rollup 5 - Hotfix - 1.7.1-0 / 2023 August"; $matched = $true } #SCX Agent
75-
'10.19.10618.0' { "SCX Compiler Mitigated Packages / 2023 August"; $matched = $true }
76-
'10.19.10616.0' { "Discover Azure Migrate in Operations Manager / 2023 July"; $matched = $true }
77-
'10.19.10615.0' { "GB compliance / 2023 July"; $matched = $true }
78-
'10.19.10211.0' { "Update Rollup 5 / 2023 April"; $matched = $true } #Agent
79-
'10.19.10606.0' { "Update Rollup 5 / 2023 April"; $matched = $true }
80-
'10.19.1214.0' { "Update Rollup 4 - OpenSSL 3.0 - 1.7.0-0 / 2023 March"; $matched = $true } #SCX Agent
81-
'10.19.1195.0' { "Update Rollup 4 - Hotfix - 1.6.12-1 / 2023 February"; $matched = $true } #SCX Agent
82-
'10.19.1167.0' { "Update Rollup 4 - Hotfix - 1.6.11-0 / 2022 December"; $matched = $true } #SCX Agent
83-
'10.19.10576.0' { "Update Rollup 4 - Hotfix for Operations Console Performance issue / 2022 July"; $matched = $true }
84-
'10.19.1158.0' { "Update Rollup 4 - OMI Vulnerability Fix - 1.6.10-2 / 2022 August"; $matched = $true } #SCX Agent
71+
'10.19.10652.0' { "SCOM 2019 Update Rollup 6 Hotfix - Introduces support for crypto policies in FIPS mode, specifically tailored for users monitoring Linux workloads / 2024 April"; $matched = $true }
72+
'10.19.1254.0' { "SCOM 2019 FIPS Crypto Policy Support - 1.9.0-0 / 2024 April"; $matched = $true } #SCX Agent
73+
'10.19.1253.0' { "SCOM 2019 Update Rollup 6 - 1.8.1-0 / 2024 March"; $matched = $true } #SCX Agent
74+
'10.19.10253.0' { "SCOM 2019 Update Rollup 6 / 2024 March"; $matched = $true } #Agent
75+
'10.19.10649.0' { "SCOM 2019 Update Rollup 6 / 2024 March"; $matched = $true }
76+
'10.19.1234.0' { "SCOM 2019 OMI Vulnerability Fix - 1.7.3-0 / 2023 November"; $matched = $true } #SCX Agent
77+
'10.19.1226.0' { "SCOM 2019 Update Rollup 5 - Hotfix - 1.7.1-0 / 2023 August"; $matched = $true } #SCX Agent
78+
'10.19.10618.0' { "SCOM 2019 SCX Compiler Mitigated Packages / 2023 August"; $matched = $true }
79+
'10.19.10616.0' { "SCOM 2019 Discover Azure Migrate in Operations Manager / 2023 July"; $matched = $true }
80+
'10.19.10615.0' { "SCOM 2019 GB compliance / 2023 July"; $matched = $true }
81+
'10.19.10211.0' { "SCOM 2019 Update Rollup 5 / 2023 April"; $matched = $true } #Agent
82+
'10.19.10606.0' { "SCOM 2019 Update Rollup 5 / 2023 April"; $matched = $true }
83+
'10.19.1214.0' { "SCOM 2019 Update Rollup 4 - OpenSSL 3.0 - 1.7.0-0 / 2023 March"; $matched = $true } #SCX Agent
84+
'10.19.1195.0' { "SCOM 2019 Update Rollup 4 - Hotfix - 1.6.12-1 / 2023 February"; $matched = $true } #SCX Agent
85+
'10.19.1167.0' { "SCOM 2019 Update Rollup 4 - Hotfix - 1.6.11-0 / 2022 December"; $matched = $true } #SCX Agent
86+
'10.19.10576.0' { "SCOM 2019 Update Rollup 4 - Hotfix for Operations Console Performance issue / 2022 July"; $matched = $true }
87+
'10.19.1158.0' { "SCOM 2019 Update Rollup 4 - OMI Vulnerability Fix - 1.6.10-2 / 2022 August"; $matched = $true } #SCX Agent
8588
'10.19.1150.0' { "SCOM 2019 Update Rollup 4 - 1.6.10-1 / 2022 June"; $matched = $true } #SCX Agent
8689
'10.19.10200.0' { "SCOM 2019 Update Rollup 4 / 2022 June"; $matched = $true } #Agent
8790
'10.19.10569.0' { "SCOM 2019 Update Rollup 4 / 2022 June"; $matched = $true }
@@ -106,21 +109,21 @@ function Get-ProductVersion
106109
<#
107110
System Center Operations Manager 2016 Versions
108111
#>
109-
'7.6.1201.0' { "FIPS Crypto Policy Support - 1.9.0-0 / 2024 April"; $matched = $true } #SCX Agent
110-
'7.6.1197.0' { "Update Rollup 10 - Hotfix - 1.8.1-0 / 2024 March"; $matched = $true } #SCX Agent
111-
'7.6.1189.0' { "OMI Vulnerability Fix - 1.7.3-0 / 2023 November"; $matched = $true } #SCX Agent
112-
'7.6.1185.0' { "Update Rollup 10 - Hotfix - 1.7.1-0 / 2023 August"; $matched = $true } #SCX Agent
113-
'7.6.1164.0' { "Update Rollup 10 - Hotfix - 1.6.12-1 / 2023 February"; $matched = $true } #SCX Agent
114-
'7.6.1113.0' { "Update Rollup 10 - OMI Vulnerability Fix - 1.6.10-2 / 2022 August"; $matched = $true } #SCX Agent
115-
'7.6.1108.0' { "Update Rollup 10 - OMI Vulnerability Fix - 1.6.9-2 / 2022 May"; $matched = $true } #SCX Agent
116-
'7.6.1105.0' { "Update Rollup 10 - 1.6.8-1 / 2021 September"; $matched = $true } #SCX Agent
117-
'7.6.1092.0' { "Update Rollup 9 - 1.6.2-343 / 2020 March"; $matched = $true } #SCX Agent
118-
'7.6.1076.0' { "Update Rollup 3 - 1.6.2-339 / 2017 May"; $matched = $true } #SCX Agent
119-
'7.6.1072.0' { "Update Rollup 2 - 1.6.2-338 / 2017 February"; $matched = $true } #SCX Agent
120-
'7.6.1067.0' { "Update Rollup 1 - 1.6.2-337 / 2016 October"; $matched = $true } #SCX Agent
121-
'7.6.1064.0' { "General Availability release - 1.6.2-336 / 2016 September"; $matched = $true } #SCX Agent
122-
'7.2.12345.0' { "SCX Compiler Mitigated Packages / 2023 August"; $matched = $true }
123-
'7.2.12335.0' { "Update Rollup 10 - Web Console IDOR Vulnerability Fix / 2021 October"; $matched = $true }
112+
'7.6.1201.0' { "SCOM 2016 FIPS Crypto Policy Support - 1.9.0-0 / 2024 April"; $matched = $true } #SCX Agent
113+
'7.6.1197.0' { "SCOM 2016 Update Rollup 10 - Hotfix - 1.8.1-0 / 2024 March"; $matched = $true } #SCX Agent
114+
'7.6.1189.0' { "SCOM 2016 OMI Vulnerability Fix - 1.7.3-0 / 2023 November"; $matched = $true } #SCX Agent
115+
'7.6.1185.0' { "SCOM 2016 Update Rollup 10 - Hotfix - 1.7.1-0 / 2023 August"; $matched = $true } #SCX Agent
116+
'7.6.1164.0' { "SCOM 2016 Update Rollup 10 - Hotfix - 1.6.12-1 / 2023 February"; $matched = $true } #SCX Agent
117+
'7.6.1113.0' { "SCOM 2016 Update Rollup 10 - OMI Vulnerability Fix - 1.6.10-2 / 2022 August"; $matched = $true } #SCX Agent
118+
'7.6.1108.0' { "SCOM 2016 Update Rollup 10 - OMI Vulnerability Fix - 1.6.9-2 / 2022 May"; $matched = $true } #SCX Agent
119+
'7.6.1105.0' { "SCOM 2016 Update Rollup 10 - 1.6.8-1 / 2021 September"; $matched = $true } #SCX Agent
120+
'7.6.1092.0' { "SCOM 2016 Update Rollup 9 - 1.6.2-343 / 2020 March"; $matched = $true } #SCX Agent
121+
'7.6.1076.0' { "SCOM 2016 Update Rollup 3 - 1.6.2-339 / 2017 May"; $matched = $true } #SCX Agent
122+
'7.6.1072.0' { "SCOM 2016 Update Rollup 2 - 1.6.2-338 / 2017 February"; $matched = $true } #SCX Agent
123+
'7.6.1067.0' { "SCOM 2016 Update Rollup 1 - 1.6.2-337 / 2016 October"; $matched = $true } #SCX Agent
124+
'7.6.1064.0' { "SCOM 2016 General Availability release - 1.6.2-336 / 2016 September"; $matched = $true } #SCX Agent
125+
'7.2.12345.0' { "SCOM 2016 SCX Compiler Mitigated Packages / 2023 August"; $matched = $true }
126+
'7.2.12335.0' { "SCOM 2016 Update Rollup 10 - Web Console IDOR Vulnerability Fix / 2021 October"; $matched = $true }
124127
'8.0.11057.0' { "SCOM 2016 Update Rollup 10 / 2020 November 19"; $matched = $true } #Agent
125128
'7.2.12324.0' { "SCOM 2016 Update Rollup 10 / 2020 November 19"; $matched = $true }
126129
'8.0.11049.0' { "SCOM 2016 Update Rollup 9 / 2020 March 24"; $matched = $true } #Agent
@@ -221,7 +224,7 @@ function Get-ProductVersion
221224
<#
222225
Azure Log Analytics
223226
#>
224-
"10.20.*" { "Azure Log Analytics Agent / Unknown Release Date" } #Agent
227+
"10.20.*" { "Azure Log Analytics Agent / Unknown Release Date" } #Agent
225228
default { "Unknown Version" }
226229
}
227230
return $Output

DataCollector/Release-Notes.md

142 Bytes

Change Log

Bug Fixes

  • Fixed issue with TLS Checker function not displaying True for registry values that match 1.

Additions

  • Added ability to run extended latency checks. The built-in menu will ask you a question to confirm.
  • Added spacing between the initial questions in the built-in menu.

0 commit comments

Comments
 (0)