Image

power-shell

Cheatsheet

Useful commands

1 min read
Last update: November 28, 2021

Common

List all binaries in PATH

Get-ChildItem Env:

List PATH

$env:path -split ";"

Find profile

$env:UserName

Check PowerShell version

$PSVersionTable

Path of current PowerShell profile

$profile

Use cmd command into PowerShell

cmd /c <command>