1 2 3 4 5 6 7 8 |
while(1) { (Get-WmiObject -Class Win32_Thread | Format-Table -Property priority, thread*, User*Time, kernel*Time ).count | Out-File q:\analisis.txt -Append Get-Process | select name | Out-File q:\analisis.txt -Append Start-Sleep -Seconds 5 "Ejecutado" } |