PowerShell Misc Examples

By Xah Lee. Date: . Last updated: .

Misc common tasks in PowerShell.

clear, cls
(Clear-Host) Clear screen.
mv
(Move-Item) Move a file/dir to another dir.
ps
(Get-Process) Lists proceses.
kill
(Stop-Process) Stop one process or more.

PowerShell

Practical How-To

list files

list dirs

on dir

on file

Windows config

zip tar

misc


PowerShell in Depth

Programing PowerShell

Value Types

String

Variable

Boolean

Conditional

Data Structure

Loop and Iteration

Input/Output

Function

Profile and Script

Script Examples