File tree Expand file tree Collapse file tree
SCSM-Diagnostic-Tool/SourceCode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ CopyFileToTargetFolder $scriptFilePath
2222# region copy smdt.ps1 to windows Temp folder, if newer
2323$smdtPS1SavedToWindirTemp = $false
2424$windirTempFolder = [IO.Path ]::Combine($env: windir , " Temp" , " SCSM.Support.Tools" )
25- New-Item - Path $windirTempFolder - ItemType Directory - ErrorAction SilentlyContinue
25+ New-Item - Path $windirTempFolder - ItemType Directory - ErrorAction SilentlyContinue | Out-Null
2626$smdtPs1TargetFileName = " SCSM-Diagnostic-Tool.ps1"
2727$smdtPs1TargetFullPath = [IO.Path ]::Combine($windirTempFolder , $smdtPs1TargetFileName )
2828$smdtVersionInTarget = New-Object Version
Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ $smEnv_SQLSM = $smEnv.AppendChild( (CreateElementForStatInfo SQLSM) )
202202# region Get SM version
203203# region Populate some known SM versions
204204$SCSM_Versions = @ {}
205+ $SCSM_Versions.Add (" 10.25.1523.0" , " 2025 RTM" )
205206$SCSM_Versions.Add (" 10.22.1313.0" , " 2022 UR2" )
206207$SCSM_Versions.Add (" 10.22.1219.0" , " 2022 RTM + Hotfix" )
207208$SCSM_Versions.Add (" 10.22.1068.0" , " 2022 RTM" )
You can’t perform that action at this time.
0 commit comments