Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make a PowerShell script that.. a) Is run with a parameter that represents the name of the person running the script. When the script runs,

image text in transcribed Make a PowerShell script that.. a) Is run with a parameter that represents the name of the person running the script. When the script runs, the output starts with a greeting with that name. For example, if I ran the script with the parameter of "Jonathan," the script would start by displaying "Hello, Jonathan!" b) Asks a user for a number and stores it in a variable. c) Asks the user if they want to double or square the number. d) Performs the operation on the numbers selected and displays the output properly. Invalid input should be dealt with accordingly

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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions

Question

What is the deadweight loss from monopoly pricing in Problem 3?

Answered: 1 week ago

Question

Does your product/program have a descriptive and memorable slogan?

Answered: 1 week ago

Question

How does this compare with the Fog Index for your written message?

Answered: 1 week ago