Drectionsnbspafter youve completed the reading assignment


Directions: After you've completed the reading assignment, respond to the items below using complete sentences. Remember to provide proper APA citation for any resources you use.

Scripting Security

  1. How do you execute a PowerShell script that is in the current directory?
  2. What commands are used to view and set the execution policy?
  3. What are the different execution policies?
  4. How do you convert a plain text password to a securestring?

Scripting Overview

  1. What is the proper file extension for a PowerShell script?
  2. You would like to run a script to change the working directory and create some aliases before PowerShell is started. What is the path and name of the profile script that you would create?

Variables, Arrays, and Escape Characters

  1. What is a variable?
  2. What is an array?
  3. How are names for variables and arrays constructed?
  4. What is the function/description of the $_ automatic variable?
  5. What is the function/description of the $Args automatic variable?
  6. How do you display the contents of a variable in the PowerShell console?
  7. How can you determine a variables type?
  8. What character is used to indicate an escape character?
  9. What are escape characters used for?
  10. What is an environmental variable?
  11. How do you access an environmental variable?

Operators

  1. What character is used to assign values to variables?
  2. List the arithmetic operators.
  3. What are the purposes of the -split and -join string operators?
  4. List the comparison operators.
  5. How can the range operator be used to generate the numbers between 1 and 10?

Loops and Decision Making Constructs

  1. When would you use an If statement with an ElseIf and Else script blocks?
  2. When would you use a Switch statement?
  3. When would you use a For loop?
  4. When would you use a ForEach loop?
  5. When would you use a Do While loop?

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Drectionsnbspafter youve completed the reading assignment
Reference No:- TGS01677591

Now Priced at $30 (50% Discount)

Recommended (99%)

Rated (4.3/5)