ok, i got it. It is using the name of the variable you are passing it to.
so if you have the following
param ([string] $myname = $(throw "computer name is required"))
Write-Host $myname
then you need to use myscript.ps1 -myname "myname"
or if you have
param ([string] $myfile = $(throw "computer name is required"))
Write-Host $myfile
myscript.ps1 -myfile "myfile"
My original questions had just -comp and the variable name was $computer not $comp. This is why i was confused.
Josiah