Preview: PowerShell Commands
Commands for using windows PowerShell
Flash Cards
# | Question | Answer |
---|---|---|
1 | | - "Pipe" | Takes the output from the command o... |
2 | > | Takes the output from the command o... |
3 | >> | Takes the output of the command on ... |
4 | * | Matches anything in a wild card, li... |
5 | cd ~ | Changes directory to my "home" dire... |
6 | cp -recurse | Copy a directory and its contents i... |
7 | cat | Print a file without paging or stop... |
8 | iCACLS | Change ownership. |
9 | robocopy | Robust copy. |
10 | mv | Move a file or directory. |
11 | mkdir | Make a directory. |
12 | type | Print the whole file |
13 | helpctr | Find what manual page is appropriat... |
14 | dir -r dir -r -filter | Find files. |
15 | runas | DANGER become super user root |
16 | help | Read a manual page. |
17 | exit | Exit the shell. |
18 | echo | Print some arguments. |
19 | pwd | Print working directory. |
20 | attrib | Change permission modifiers. |
21 | hostname | My computer's network name. |
22 | forfiles | Run a command on lots of files. |
23 | set | Export/Set a new environment variab... |
24 | cd | Change directory. |
25 | cp | Copy a file or directory. |
26 | pushd | Push directory. |
27 | popd | Pop directory. |
28 | select-string | Find things inside files. |
29 | more | Page through a file. |
30 | rmdir | Remove directory. |
31 | ls | List directory. |