Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Would you help me out with this function script ?

$
0
0

Create a function called MyName which has 2 parameters, FirstName and LastName.  Name the script Lab9_Functions_MyName.ps1.  Each name is to be input separately and if either parameter is empty, output a message stating “Please enter first and last name.” Test your script like below (note the clear-host command has been disabled for this screen shot). When both parameters have been provided your output should be  “Hello, _____ _____ welcome to Win2015”


Viewing all articles
Browse latest Browse all 6937

Trending Articles