2,187
edits
(Added "PowerShell Process") |
m (→Process Priority: Minor rewording and update) |
||
Line 142: | Line 142: | ||
| Process overrides all other processes (including system tasks).<br>Can lead to an unresponsive, locked out system unless process has been specifically written to run in RealTime mode, or will only run for a very brief period. | | Process overrides all other processes (including system tasks).<br>Can lead to an unresponsive, locked out system unless process has been specifically written to run in RealTime mode, or will only run for a very brief period. | ||
|} | |} | ||
If you run scripts that can be CPU intensive, and/or run for a long time. This can lessen the impact on your desktop or server (wherever the script is running). | |||
To check the current priority of your shell or script use... | |||
<source lang="powershell"> | |||
( [System.Diagnostics.Process]::GetCurrentProcess() ).PriorityClass | |||
== Scripts == | == Scripts == |