Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 fillingin 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started