The parameters given on the command line are not valid. Valid command line parameters are: -S - server on which to run the ...

The parameters given on the command line are not valid. Valid command line parameters are:

       -S  -- server on which to run the wizard 
       -E -- if present, use trusted connection to connect 
       -U  -- login (ignored if trusted connection) 
       -P  -- password (ignored if trusted connection)
       -D  -- publication database
       -N  -- publication name
       -H -- heterogeneous publication
       -L  -- login timeout in seconds (0-100)
       -T  -- query timeout in seconds (0-1000)

Example: NewSubscriptionWizard -S SVR5 -U SA -P my_password -D Northwind -N NorthwindPub -L 50 -T 60