{"id":76445,"date":"2024-12-08T01:48:55","date_gmt":"2024-12-08T01:48:55","guid":{"rendered":"http:\/\/bangla.sitestree.com\/?p=76445"},"modified":"2024-12-08T01:48:55","modified_gmt":"2024-12-08T01:48:55","slug":"power-shell-disk-space-memory-space-process","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=76445","title":{"rendered":"Power Shell: Disk Space, Memory Space, Process"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"405\" src=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-34.png?resize=750%2C405\" alt=\"\" class=\"wp-image-76446\" srcset=\"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-34.png?resize=1024%2C553 1024w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-34.png?resize=300%2C162 300w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-34.png?resize=768%2C415 768w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-34.png?resize=1536%2C829 1536w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-34.png?resize=750%2C405 750w, https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-34.png?w=1932 1932w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"","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":[1],"tags":[],"class_list":["post-76445","post","type-post","status-publish","format-standard","hentry","category-root","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":76443,"url":"http:\/\/bangla.sitestree.com\/?p=76443","url_meta":{"origin":76445,"position":0},"title":"Linux: Disk Space, Memory Space, Running Processes","author":"Sayed","date":"December 8, 2024","format":false,"excerpt":"df command \u2013 Shows the amount of disk space used and available on Linux file systems. du command \u2013 Display the amount of disk space used by the specified files and for each subdirectory. free command top or htop command vmstat command dmidecode command \/proc\/meminfo file Linux commands show all\u2026","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24392,"url":"http:\/\/bangla.sitestree.com\/?p=24392","url_meta":{"origin":76445,"position":1},"title":"Web-site Visit Log Application Comparisons (and saving disk space) #Root","author":"Author-Check- Article-or-Video","date":"April 8, 2021","format":false,"excerpt":"In an attempt to save disk space on hosting, just found out Analog application was taking > 5 GB of space. I am not really using the stats applications or the stat data for any purpose (however, keeping them almost always is a good idea). Hence, keeping one of the\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":78669,"url":"http:\/\/bangla.sitestree.com\/?p=78669","url_meta":{"origin":76445,"position":2},"title":"Command performs the full setup of a new RAW disk in one PowerShell pipeline:","author":"Sayed","date":"May 24, 2026","format":false,"excerpt":"explain: Get-Disk | Where PartitionStyle -eq \"RAW\" | Initialize-Disk -PartitionStyle GPT -PassThru | New-Partition -UseMaximumSize -AssignDriveLetter | Format-Volume -FileSystem NTFS -NewFileSystemLabel \"MYDATA\" This command performs the full setup of a new RAW disk in one PowerShell pipeline: Get-Disk | Where PartitionStyle -eq \"RAW\" | Initialize-Disk -PartitionStyle GPT -PassThru | New-Partition\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":76471,"url":"http:\/\/bangla.sitestree.com\/?p=76471","url_meta":{"origin":76445,"position":3},"title":"Power Shell: Stop Process","author":"Sayed","date":"December 8, 2024","format":false,"excerpt":"Stop-Process -Name \"notepad\" Stop-Process -Id 3952 -Confirm \u2013PassThru calc $p = Get-Process -Name \"calc\" Stop-Process -InputObject $p Get-Process | Where-Object {$_.HasExited} Get-Process -Name \"lsass\" | Stop-Process","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":76467,"url":"http:\/\/bangla.sitestree.com\/?p=76467","url_meta":{"origin":76445,"position":4},"title":"Power Shell: Process","author":"Sayed","date":"December 8, 2024","format":false,"excerpt":"Get-Process Get-Process winword, explorer | Format-List * Get-Process | Where-Object {$_.WorkingSet -gt 20000000} $A = Get-Process $A | Get-Process | Format-Table -View priority Get-Process pwsh -FileVersionInfo (did not work) Get-Process SQL* -Module Ref: Internet\/Google - MS Sites","rel":"","context":"In &quot;Root&quot;","block_context":{"text":"Root","link":"http:\/\/bangla.sitestree.com\/?cat=1"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/bangla.sitestree.com\/wp-content\/uploads\/2024\/12\/image-37.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":78691,"url":"http:\/\/bangla.sitestree.com\/?p=78691","url_meta":{"origin":76445,"position":5},"title":"Q &amp; A:  Linux: Switch Users, Boot Process, File System","author":"Sayed","date":"June 1, 2026","format":false,"excerpt":"Quiz: Root Access, Boot Process, File Systems, Partitions, and Mounting 1. True\/False The root user is the superuser account and has the highest access rights on a Linux system. Answer: True 2. True\/False It is recommended to stay logged in as root for normal daily work because it is faster.\u2026","rel":"","context":"In &quot;Anything Linux&quot;","block_context":{"text":"Anything Linux","link":"http:\/\/bangla.sitestree.com\/?cat=1976"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76445","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=76445"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76445\/revisions"}],"predecessor-version":[{"id":76447,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/76445\/revisions\/76447"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=76445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=76445"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=76445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}