11# Portable Sysinternals System Tester - FINAL MERGED VERSION
22# Created by Pacific Northwest Computers - 2025
3- # Complete Production Version - v2.3 (Merged and Debugged)
3+ # Complete Production Version - v2.2 (Merged and Debugged)
44
55param ([switch ]$AutoRun )
66
77# Constants
8- $script :VERSION = " 2.3 "
8+ $script :VERSION = " 2.2 "
99$script :DXDIAG_TIMEOUT = 50
1010$script :ENERGY_DURATION = 20
1111$script :CPU_TEST_SECONDS = 30
@@ -384,14 +384,14 @@ function Test-Storage {
384384 }
385385}
386386
387- # Test: Processes (Updated to use v2.3 tools and calls)
387+ # Test: Processes (Updated to use v2.2 tools and calls)
388388function Test-Processes {
389389 Write-Host " `n === Process Analysis ===" - ForegroundColor Green
390390 Run- Tool - ToolName " pslist" - Args " -t" - Description " Process tree"
391391 Run- Tool - ToolName " listdlls" - Args " -u" - Description " Unsigned DLLs"
392392}
393393
394- # Test: Security (Updated to use v2.3 tools and calls)
394+ # Test: Security (Updated to use v2.2 tools and calls)
395395function Test-Security {
396396 Write-Host " `n === Security Analysis ===" - ForegroundColor Green
397397 if (-not $script :IsAdmin ) {
@@ -401,7 +401,7 @@ function Test-Security {
401401 Run- Tool - ToolName " streams" - Args " -s C:\" - Description " Alternate data streams"
402402}
403403
404- # Test: Network (Combined Basic/NIC from v2.3 logic)
404+ # Test: Network (Combined Basic/NIC from v2.2 logic)
405405function Test-Network {
406406 Write-Host " `n === Network Analysis ===" - ForegroundColor Green
407407
@@ -417,7 +417,7 @@ function Test-Network {
417417 Write-Host " Error getting network info" - ForegroundColor Red
418418 }
419419
420- # Network adapter information (from v2.1 NIC + v2.3 speed fix)
420+ # Network adapter information (from v2.1 NIC + v2.2 speed fix)
421421 Write-Host " Gathering network adapter information..." - ForegroundColor Yellow
422422 try {
423423 $adapters = Get-NetAdapter - ErrorAction Stop | Where-Object {$_.Status -eq " Up" }
@@ -575,7 +575,7 @@ function Test-StorageSMART {
575575 $info += " Disk: $ ( $disk.DeviceId ) "
576576 $info += " Temperature: $ ( $disk.Temperature ) °C"
577577 $info += " Power On Hours: $ ( $disk.PowerOnHours ) "
578- # Note: The v2.3 reporting needs a 'Temperature: \d+' match, ensure data is output if possible
578+ # Note: The v2.2 reporting needs a 'Temperature: \d+' match, ensure data is output if possible
579579 $info += " "
580580 }
581581 $script :TestResults += @ {
0 commit comments