Keyboard Shortcuts - Workflow
win + left-arrow
win + left-arrow// snap leftwin + right-arrow// snap rightwin + up-arrow// maximize windowwin + down-arrow// minimize window
Screen Grab
win + Shift + S
Command Prompt Catch
Command prompt is officially called Windows Command Processor.
> help// prints all commands> help some-command// prints documentation
> mkdir// makes a directory
set// list all env variablesset <some-variable>// is the same as echo $<variable>
ctrl + c
> dir// show directories in given folder
> attrib// set ownership on files and directories
> cd// print current directory
> chkdsk// checks filesystem and repairs filesystem
> cls// clear window
> copy
> date> time
> del//> deltree// recursively deletes entire directory tree
> edit// simple text editor// Note the variable EDITOR should be set to the user's preferred editor
> type// displays the contents of a text file
> rename// renames file or files
Logic and Conditionals
> if// performs a condistional processing in batch programs
> for// runs a specified command for each file in a set of files
PowerShell
> Get-Command *-Service// show list of cmdlets
For a given Service user;
Get-Help <some-service// to see documentation for service
Show list of Running Processes
Get-Process
Show Directories
ls// show current directories