Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a PowerShell script that takes/receives twoarguments/parameters passed to it via a command line and performsbasic operations on these arguments. In particular, your scriptshould: Comprise

Write a PowerShell script that takes/receives twoarguments/parameters passed to it via a command line and performsbasic operations on these arguments. In particular, your scriptshould:

Comprise comments on who is the author and what itsupposed to do.

Receives two arguments/parameters, string and integernumber, passed to it as (positional)arguments/parameters.

Displays on the screen both of these arguments with atext explaining them and the type of each of them (e.g., “The firstreceived parameter is: … and its type is ….”).

Display the first argument as the string in upper caseletters only.

Display the total length of both arguments (also withsome leading text). Note that you will have to convert the secondargument, which is an integer, to a string to do it.

Have a function that performs:

***Displays all the processes with -ProcessNamecomprising string “win” ordered by their IDs

***Call the function which you defined as an answer tothe bullet directly above.

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

Computer Performance Engineering 10th European Workshop Epew 2013 Venice Italy September 17 2013 Proceedings

Authors: Maria Simonetta Balsamo ,William Knottenbelt ,Andrea Marin

2013 Edition

3642407242, 978-3642407246

More Books

Students also viewed these Programming questions

Question

81. Review the building blocks of financial statement analysis.

Answered: 1 week ago

Question

811. How is the equity growth rate computed? What does it measure?

Answered: 1 week ago