PowerShell Commands Flashcards

1
Q

pwd

A

Print Working Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

hostname

A

My Computer’s Network Name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

mkdir

A

Make Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cd

A

Change Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

ls

A

List Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

rmdir

A

Remove Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

pushd

A

Push Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

popd

A

Pop Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

cp

A

Copy File or Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

robocopy

A

Robust Copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

mv

A

Move file or Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

more

A

Page through a file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

type

A

Print the whole file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

forfiles

A

Run Command on lot of files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

dir-r

A

Find Files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

select-string

A

Find things inside files

17
Q

help

A

Read a manual page

18
Q

helpctr

A

Find what man page is appropriate

19
Q

echo

A

print some arguments

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!