• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/16

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

16 Cards in this Set

  • Front
  • Back
Power shell and windows 7
power shell is installed on windows 7 and 2008 R2 by default(for 2008 the console shows the ps editor is installed as a feature)
where is ps located on windows
start \ programs \ accessories
ISE
Integrated script enviorment
dir
cls
directory listing
clear screen
commandlets
two part name command
get-process
get-help
get-history cmd
alias ?
list of command line history
alias for get-history is h
Invole-History #num
runs a command form the get-history list, where num is the number of the cmd in the history list
get-process process name
get the process
get-process notepad | stop-process
gets all processes with name notepad and stops them
get-process notepad | stop-process -WhatIf
the ps console will let us know what will happen if we run the cmd
get-process | stop-process
stops all processes on the machine
Get-services
list of services
How to fix this error?

File C:\scripts\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-
help about_signing" for more details.
At line:1 char:19
+ c:\scripts\test.ps1 <<<<
Get-ExecutionPolicy
Set-ExecutionPolicy RemoteSigned
Get-Help About_Signing
If you actually want to execute that string value (that is, if you want to run the script whose path is enclosed in double quotes) you need to preface the path with the Call operator (the ampersand). You know, like this:
& "C:\My Scripts\Test.ps1"
Run a powershell script from Start.. Run
powershell.exe -noexit c:\scripts\test.ps1
Execute powershell script from cmd prompt
powershell -File test.ps1