Question: 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
Get step-by-step solutions from verified subject matter experts
