Question: For this Assignment you are going to create a script that prints Hello world to the Powershell window. It is recommended that you watch all

For this Assignment you are going to create a script that prints "Hello world" to the Powershell window. It is recommended that you watch all the lecture in the Module 7 section to complete this assignment.

In your Windows VM:

  1. In your documents folder create a folder called "Scripts"
  2. Create a plain text file called Helloworld.txt
  3. In the plain text file write your code to print the string "Hello world"
  4. Save the file and rename the file extension from .txt to .ps1
  5. Start Powershell and run the cmdlet [Start-transcript]
  6. Navigate to the Script folder in powershell
  7. Select and run your Helloworld.ps1 script
  8. You should see Hello world was printed to the Powershell Window
  9. Run the cmdlet [Stop-transcript]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!