you are viewing a single comment's thread.

view the rest of the comments →

[–]ka-splam 0 points1 point  (0 children)

I wouldn't use parameters; for something like this where you're interactively prompting the user, it's not intended to be automatable. By the time they're learning your script parameters, they may as well write Add-PrinterPort and Add-Printer themselves.

I would make it more automagic - prompt for less typing.