Basics | Parameters

Parameter declaration can have many options. The one below has been set to require input from the user when executing the script and assigns the value to the variable $computerNames. This allows for programmers to force some type of control to end users.

The input I put in was: Computer1,Computer2,Computer3

Also see example on: Local Group Membership