|
| 1 | +REM Test system processes that should always be running |
| 2 | +Measure-Command { win-witr winlogon.exe | Out-Default} |
| 3 | +Measure-Command { win-witr lsass.exe | Out-Default} |
| 4 | +Measure-Command { win-witr win-witr.exe | Out-Default} |
| 5 | +Measure-Command { win-witr wininit.exe | Out-Default} |
| 6 | +Measure-Command { win-witr explorer.exe | Out-Default} |
| 7 | +Measure-Command { win-witr Registry| Out-Default} |
| 8 | +Measure-Command { win-witr csrss.exe| Out-Default} |
| 9 | +Measure-Command { win-witr fontdrvhost.exe | Out-Default} |
| 10 | +Measure-Command { win-witr svchost.exe | Out-Default} |
| 11 | +Measure-Command { win-witr smss.exe | Out-Default} |
| 12 | +Measure-Command { win-witr services.exe | Out-Default} |
| 13 | +Measure-Command { win-witr powershell.exe | Out-Default } |
| 14 | +Measure-Command { win-witr Runner.Listener.exe | Out-Default} |
| 15 | +Measure-Command { win-witr cmd.exe | Out-Default} |
| 16 | +Measure-Command { win-witr pwsh.exe | Out-Default} |
| 17 | +Measure-Command { win-witr Runner.Worker.exe | Out-Default} |
| 18 | +Measure-Command { win-witr hosted-compute-agent | Out-Default} |
| 19 | +Measure-Command { win-witr conhost.exe | Out-Default} |
| 20 | +Measure-Command { win-witr dwm.exe | Out-Default} |
| 21 | +Measure-Command { win-witr RuntimeBroker.exe | Out-Default} |
| 22 | +Measure-Command { win-witr SearchIndexer.exe | Out-Default} |
| 23 | +Measure-Command { win-witr spoolsv.exe | Out-Default} |
| 24 | +Measure-Command { win-witr taskhostw.exe | Out-Default} |
| 25 | +Measure-Command { win-witr dllhost.exe | Out-Default} |
| 26 | + |
| 27 | +start /B notepad.exe |
| 28 | +timeout /t 1 /nobreak >nul |
| 29 | +Measure-Command { win-witr notepad.exe | Out-Default} |
| 30 | +taskkill /F /IM notepad.exe >nul 2>&1 |
| 31 | + |
| 32 | +REM Start calc and test it, then close |
| 33 | +start /B calc.exe |
| 34 | +timeout /t 1 /nobreak >nul |
| 35 | +Measure-Command { win-witr calc.exe | Out-Default} |
| 36 | +taskkill /F /IM calc.exe >nul 2>&1 |
| 37 | + |
| 38 | +REM Start mspaint and test it, then close |
| 39 | +start /B mspaint.exe |
| 40 | +timeout /t 1 /nobreak >nul |
| 41 | +Measure-Command { win-witr mspaint.exe | Out-Default} |
| 42 | +taskkill /F /IM mspaint.exe >nul 2>&1 |
| 43 | + |
| 44 | + |
| 45 | +Measure-Command { win-witr powershell.exe | Out-Default} |
| 46 | + |
| 47 | + |
| 48 | + |
0 commit comments