<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>cpu on Notities</title><link>https://www.vandenboom.icu/en/tags/cpu/</link><description>Recent content in cpu on Notities</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 04 Jan 2024 22:21:38 +0000</lastBuildDate><atom:link href="https://www.vandenboom.icu/en/tags/cpu/index.xml" rel="self" type="application/rss+xml"/><item><title>PowerShell computer resource monitor script with cpu percentage and advanced memory information</title><link>https://www.vandenboom.icu/en/blog/2024-powershell-computer-resource-monitor-script-with-cpu-percentage-and-advanced-memory-information/</link><pubDate>Thu, 04 Jan 2024 22:21:38 +0000</pubDate><guid>https://www.vandenboom.icu/en/blog/2024-powershell-computer-resource-monitor-script-with-cpu-percentage-and-advanced-memory-information/</guid><description>PowerShell computer resource monitor script with cpu percentage and advanced memory information
PowerShell Resource monitor $app=&amp;quot;notepad&amp;quot; $ids = Get-Process $app | Select-Object -Property Id | ForEach-Object {$_.Id} $filedate = Get-Date -format &amp;quot;yyyy-MM-dd&amp;quot; #echo $pids foreach ($id in $ids) { $date = Get-Date -format &amp;quot;yyyy-MM-dd HH:mm:ss&amp;quot; # process CPU information $ProcessId = $id $Process = Get-WmiObject -Query &amp;quot;SELECT * FROM Win32_PerfFormattedData_PerfProc_Process WHERE IDProcess = $ProcessId&amp;quot; $usage = $Process.PercentProcessorTime # process Mem information $TotalMemory = (Get-CimInstance Win32_ComputerSystem).</description></item></channel></rss>