You can also make the Cluster, DatastoreClusterName, VM and Server mandatory parameters for your script. Then you can run your script with parameters. If you don't specify the parameters when running the script, the script will ask for the parameter values. Insert the following piece of code at the beginning of your script.
Param ([Parameter(Mandatory=$true)][String]$Cluster, [Parameter(Mandatory=$true)][String]$DatastoreClusterName, [Parameter(Mandatory=$true)][String]$VM, [Parameter(Mandatory=$true)][String]$Server="vcenter.domain")
In the above parameters definition the script will not prompt for the Server variable value because there is already a default value given.
You can now run your script with:
.\New-LinkedClone.ps1 -Cluster cluster-3 -DatastoreClusterName cluster-3-bronze -VM test*
If you run your script with just:
.\New-LinkedClone.ps1
then it will prompt for the Cluster, DatastoreClusterName and VM.