GuideProgramming + ScriptingPowershell CPU Stress Test in Powershell Updated August 11 2024
This script was found here: https://www.robvit.com/windows_server/generate-cpu-load-with-powershell/

Copy to Clipboard ForEach ($core in 1..$NumberOfLogicalProcessors){ start-job -ScriptBlock{ $result = 1; foreach ($loopnumber in 1..2147483647){ $result=1; foreach ($loopnumber1 in 1..2147483647){ $result=1; foreach($number in 1..2147483647){ $result = $result * $number } } $result } } } Read-Host "Press any key to exit..." Stop-Job *




©2024 - Some portions of this website are Copyrighted.
Your IP: 3.149.214.245     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy