{"id":78667,"date":"2026-05-24T19:05:55","date_gmt":"2026-05-24T19:05:55","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=78667"},"modified":"2026-05-24T19:05:55","modified_gmt":"2026-05-24T19:05:55","slug":"variations-of-get-process-select-nameidcpu-sort-cpu-descending","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=78667","title":{"rendered":"Variations of: Get-Process | Select Name,Id,CPU | Sort CPU -Descending"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Yes. These commands produce the <strong>same type of output<\/strong>: process <code>Name<\/code>, <code>Id<\/code>, and <code>CPU<\/code>, sorted by CPU in descending order.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Variation 1: Full cmdlet names<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Process |\nSelect-Object -Property Name, Id, CPU |\nSort-Object -Property CPU -Descending\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Variation 2: Sort first, then select<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Process |\nSort-Object -Property CPU -Descending |\nSelect-Object -Property Name, Id, CPU\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Variation 3: Use aliases<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>gps | select Name,Id,CPU | sort CPU -Descending\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Variation 4: Show only top 10 highest CPU processes<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Process |\nSort-Object CPU -Descending |\nSelect-Object Name, Id, CPU -First 10\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Best teaching version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Process |\nSort-Object -Property CPU -Descending |\nSelect-Object -Property Name, Id, CPU\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Comment:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># This command gets all running processes, sorts them by CPU time from highest to lowest,\n# and displays only the Name, Id, and CPU properties.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">REF: AI Tools\/ChatGPT<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes. These commands produce the same type of output: process Name, Id, and CPU, sorted by CPU in descending order. Variation 1: Full cmdlet names Variation 2: Sort first, then select Variation 3: Use aliases Variation 4: Show only top 10 highest CPU processes Best teaching version: Comment: REF: AI Tools\/ChatGPT<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1981],"tags":[],"class_list":["post-78667","post","type-post","status-publish","format-standard","hentry","category-power-shell","item-wrap"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":78665,"url":"http:\/\/bangla.sitestree.com\/?p=78665","url_meta":{"origin":78667,"position":0},"title":"Explain: Get-Process | Select Name,Id,CPU | Sort CPU -Descending","author":"Sayed","date":"May 24, 2026","format":false,"excerpt":"This command shows running processes with selected columns and sorts them by CPU usage\/time. Get-Process | Select Name,Id,CPU | Sort CPU -Descending Meaning step by step 1. Get-Process Get-Process Gets all running processes on the computer. 2. Pipeline | | Passes the process objects to the next command. 3. Select\u2026","rel":"","context":"In &quot;Power Shell&quot;","block_context":{"text":"Power Shell","link":"http:\/\/bangla.sitestree.com\/?cat=1981"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78675,"url":"http:\/\/bangla.sitestree.com\/?p=78675","url_meta":{"origin":78667,"position":1},"title":"Explain the command and each part : Get-Service * | Select-Object Status, DisplayName | Where-Object { $_.Status -eq &#8220;Running&#8221; -and $_.DisplayName -like &#8220;Windows*\u201c } | Sort-Object DisplayName -Descending | Format-Table -AutoSize","author":"Sayed","date":"May 24, 2026","format":false,"excerpt":"This command lists running Windows services whose display name starts with \u201cWindows\u201d, sorts them by display name in descending order, and displays the result in a neat table. Corrected version: Get-Service * | Select-Object Status, DisplayName | Where-Object { $_.Status -eq \"Running\" -and $_.DisplayName -like \"Windows*\" } | Sort-Object DisplayName\u2026","rel":"","context":"In &quot;Power Shell&quot;","block_context":{"text":"Power Shell","link":"http:\/\/bangla.sitestree.com\/?cat=1981"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78910,"url":"http:\/\/bangla.sitestree.com\/?p=78910","url_meta":{"origin":78667,"position":2},"title":"Why a Core Ultra X7 Can Beat a Core Ultra 9 in Graphics","author":"Sayed","date":"October 18, 2026","format":false,"excerpt":"Published\/updated: 2026-10-16 | Market focus: Canada with international comparisons AI-generated; free to reuse. The author prepared this article with AI after researching laptop choices. AI can make mistakes: verify product specifications, prices, availability, warranties and seller claims. The text may be copied, edited and republished; third-party trademarks and linked materials\u2026","rel":"","context":"In &quot;Purchasing a Laptop&quot;","block_context":{"text":"Purchasing a Laptop","link":"http:\/\/bangla.sitestree.com\/?cat=1986"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78337,"url":"http:\/\/bangla.sitestree.com\/?p=78337","url_meta":{"origin":78667,"position":3},"title":"Check Your Linux Knowledge","author":"Sayed","date":"July 27, 2025","format":false,"excerpt":"Linux Installation: Pre Assessment What do you need handy before installing Ubuntu in a Virtual Box 0 points Check all that apply. \u00a0Oracle Virtualbox Installed \u00a0ISO Image of the Linux \u00a0ISO Image in USB Drive What is usually the best place to download\/take a software to install? * 1 point\u2026","rel":"","context":"In &quot;Anything Linux&quot;","block_context":{"text":"Anything Linux","link":"http:\/\/bangla.sitestree.com\/?cat=1976"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/07\/image-8.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/07\/image-8.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2025\/07\/image-8.png?resize=525%2C300 1.5x"},"classes":[]},{"id":78870,"url":"http:\/\/bangla.sitestree.com\/?p=78870","url_meta":{"origin":78667,"position":4},"title":"Intel AMD Apple and Snapdragon Laptop Processors Explained","author":"Sayed","date":"October 18, 2026","format":false,"excerpt":"Published\/updated: 2026-10-16 | Market focus: Canada with international comparisons AI-generated; free to reuse. The author prepared this article with AI after researching laptop choices. AI can make mistakes: verify product specifications, prices, availability, warranties and seller claims. The text may be copied, edited and republished; third-party trademarks and linked materials\u2026","rel":"","context":"In &quot;Purchasing a Laptop&quot;","block_context":{"text":"Purchasing a Laptop","link":"http:\/\/bangla.sitestree.com\/?cat=1986"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78625,"url":"http:\/\/bangla.sitestree.com\/?p=78625","url_meta":{"origin":78667,"position":5},"title":"Polished: How to Find and Import Cisco Router Images (BIN\/IMAGE) Into GNS3","author":"Author-Check- Article-or-Video","date":"November 26, 2025","format":false,"excerpt":"Polished: How to Find and Import Cisco Router Images (BIN\/IMAGE) Into GNS3 (By ChatGPT) To use classic Cisco routers such as the 3725 in your GNS3 labs, you\u2019ll need the correct IOS image files. This guide explains where to find them, where to store them, and how to import them\u2026","rel":"","context":"In &quot;Computer Networks&quot;","block_context":{"text":"Computer Networks","link":"http:\/\/bangla.sitestree.com\/?cat=1978"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78667"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78667\/revisions"}],"predecessor-version":[{"id":78668,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/78667\/revisions\/78668"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78667"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}