Skip to content

Commit

Permalink
fixed when Analyzer folder and Findings.htm was not created. And adde…
Browse files Browse the repository at this point in the history
…d SM 2025 version support. (#145)

* Update Collect.ps1

* Update Analyze.ps1
  • Loading branch information
khusmeno authored Dec 2, 2024
1 parent 5dfede2 commit be4cbd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SCSM-Diagnostic-Tool/SourceCode/_1_Collecting/Collect.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CopyFileToTargetFolder $scriptFilePath
#region copy smdt.ps1 to windows Temp folder, if newer
$smdtPS1SavedToWindirTemp = $false
$windirTempFolder = [IO.Path]::Combine($env:windir, "Temp", "SCSM.Support.Tools")
New-Item -Path $windirTempFolder -ItemType Directory -ErrorAction SilentlyContinue
New-Item -Path $windirTempFolder -ItemType Directory -ErrorAction SilentlyContinue | Out-Null
$smdtPs1TargetFileName = "SCSM-Diagnostic-Tool.ps1"
$smdtPs1TargetFullPath = [IO.Path]::Combine($windirTempFolder, $smdtPs1TargetFileName)
$smdtVersionInTarget = New-Object Version
Expand Down
1 change: 1 addition & 0 deletions SCSM-Diagnostic-Tool/SourceCode/_2_Analyzing/Analyze.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ $smEnv_SQLSM = $smEnv.AppendChild( (CreateElementForStatInfo SQLSM) )
#region Get SM version
#region Populate some known SM versions
$SCSM_Versions = @{}
$SCSM_Versions.Add("10.25.1523.0","2025 RTM")
$SCSM_Versions.Add("10.22.1313.0","2022 UR2")
$SCSM_Versions.Add("10.22.1219.0","2022 RTM + Hotfix")
$SCSM_Versions.Add("10.22.1068.0","2022 RTM")
Expand Down

0 comments on commit be4cbd3

Please sign in to comment.