Powershell Flashcards
1
Q
pwd
A
Print working directory
2
Q
host name
A
My computer’s network name
3
Q
mkdir
A
Make directory
4
Q
cd
A
Change directory
5
Q
ls
A
List directory
6
Q
rmdir
A
Remove directory
7
Q
pushd
A
Push directory
8
Q
popd
A
Pop directory
9
Q
cp
A
Copy a file or directory
10
Q
robocopy
A
Robust copy
11
Q
mv
A
Move a file or directory
12
Q
more
A
Page through a file
13
Q
type
A
Print the whole file
14
Q
forfiles
A
Run a command on lots of files
15
Q
dir-r
A
Find files
16
Q
select-string
A
Find things inside files
17
Q
help
A
Read a manual page
18
Q
helpctr
A
Find what manual page is appropriate
19
Q
echo
A
Print some arguements
20
Q
set
A
Export/set a new environment variable
21
Q
exit
A
Exit the shell
22
Q
runas
A
DANGER! become super user root DANGER!
23
Q
attrib
A
Change permission modifiers
24
Q
iCACLS
A
Change ownership