Question: Complete the PowerShell script below by filling - in the missing information so that the script will satisfy the following requirements: Use a cmdlet who's

Complete the PowerShell script below by filling-in the missing information so that the script will satisfy the following requirements:
Use a cmdlet who's primary purpose is to write customized output to the host (console).
Use a cmdlet who's purpose is to read a line of input from the console.
Display the following text, and include the parameter that will cause no new line to be inserted.
What is your first name?
Allow the user to type their response, and when the enter key is pressed, save what they typed to a variable called $firstName.
Display the following text, replace namehere with the value of the variable you just created.
Welcome namehere! Thank you for running this script.
The colour of the text should appear red.
The colour of the background should appear white.
Solution
Answer
"What is your first name?" Answer
Red Answer
White Answer
Answer
= Answer
Answer
"Welcome Answer
! Thank you for running this script."

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!