To pass multiple parameters you must use the command line syntax that includes the names of the parameters. For example here is a sample PowerShell script that runs the Get-Service function with two parameters. The parameters are the name of the service(s) and the name of the Computer.