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:
- In your documents folder create a folder called "Scripts"
- Create a plain text file called Helloworld.txt
- In the plain text file write your code to print the string "Hello world"
- Save the file and rename the file extension from .txt to .ps1
- Start Powershell and run the cmdlet [Start-transcript]
- Navigate to the Script folder in powershell
- Select and run your Helloworld.ps1 script
- You should see Hello world was printed to the Powershell Window
- Run the cmdlet [Stop-transcript]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
