Answered step by step
Verified Expert Solution
Link Copied!

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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions