powershell

aliases

% = foreach = ForEach
? = where = Where-Object  # ?{ $_ -NotMatch "regex" } 

Basic

Set-ExecutionPolicy RemoteSigned
Enable-PSRemoting -Force

Import-Module ServerManager
Add-WindowsFeature RDS-Virtualization

disk

list top processes sort by memory

sum memory of all processes

list and grep process members

query process by WMI

Last updated

Was this helpful?