Category Archive: PowerShell

Nov 25

A Video: How to write powershell script

rp_258642353_150_150.jpg

Learn how to write Powershell script.     Related articles PowerShell-2 Powershell Script To Email Alerts When A Domain Account Gets Locked Out Get Last logon time of a computer Powershell Popular PowerShell Cmdlets for Windows Azure AD PowerTip: Use PowerShell to Find Blog Posts Run Powershell from C#

Permanent link to this article: http://www.techxpress.in/a-video-how-to-write-powershell-script/

Nov 25

Find Free Physical Memory by dos command powershell

rp_noimg_9_150_150.jpg

How to find Free Physical Memory Below are the command to get Free Physical Memory via command line and power-shell. Command Line Get-WmiObject -Query ‘Select * from Win32_OperatingSystem’ | Select FreePhysicalMemory | Format-Table -AutoSize; PowerShell Powershell -noexit -command “&{Get-WmiObject -Query ‘Select * from Win32_OperatingSystem’ | Select FreePhysicalMemory | Format-Table -AutoSize;}” Get-Process | Select Name, @{Name=’CPU(s)’;Expression={$_.CPU}} | sort ‘CPU(s)’ …

Continue reading »

Permanent link to this article: http://www.techxpress.in/find-free-physical-memory-by-dos-command-powershell/

Nov 25

List top 5 process consuming CPU

rp_noimg_14_150_150.jpg

List top 5 process consuming CPU Command Line @echo Powershell -command “&{Get-Process | Select Name, @{Name=’CPU(s)’;Expression={$_.CPU}} | sort ‘CPU(s)’ -Descending | Select -First 5| Format-Table -AutoSize;}” PowerShell Get-Process | Select Name, @{Name=’CPU(s)’;Expression={$_.CPU}} | sort ‘CPU(s)’ -Descending | Select -First 5| Format-Table -AutoSize;       Related articles Reduce cpu usage of java application How To …

Continue reading »

Permanent link to this article: http://www.techxpress.in/list-top-5-process-consuming-cpu/

Older posts «

Bookmark this page