In the last article, we verified that Windows PowerShell was installed on my laptop and determined the version of the scripting engine. This tallk will be center around how to execute scripts from the command line. For a simple test case, I created a C:\TEMP directory. Inside that directory is a script named “LIST-ROOT.PS1” that will change the directory to the root node on the C drive. After this action, the contents of the root directory is listed for review.
# List root directory
Lets try executing the script from a command line.…