Windows/PowerShell/Common Tools
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "Below are some common tools for Powershell 7 Core with a focus on system administration. =Show open ports= <nowiki>PS /> Get-NetTCPConnection PS /> Get-NetTCPConnection | Whe...") |
Revision as of 20:13, 23 November 2024
Below are some common tools for Powershell 7 Core with a focus on system administration.
Show open ports
PS /> Get-NetTCPConnection PS /> Get-NetTCPConnection | Where-Object { $_.State -eq 'Listen' }
Process List
PS /> Get-Process PS /> Get-Process | Sort-Object CPU -Descending | Format-Table -Property Name, CPU, Id, MemoryUsage -AutoSize