Powershell
CLI
tool
Powershell is the major command line tool for windows
Basics
Files
- List contents of directory
dir
# or
ls- Get current working directory
pwd- Change directory
cd
# or
chdir- Delete file / folder
del
# or
rm
# or
rmdir- Copy file
cp
# or
copy- Move file
mv
# or
move- Create variables
$myVariable = "C:\path\name\whatever"Processes
- List all running processes, ordered by cpu-usage
Get-Process |Sort-Object cpu -DescendingPython
- execute python program
py path\to\file.py- install package with pip
py -m pip install pandas