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 publication properties sheet 
       -E -- if present, use trusted connection to connect 
       -U  -- login (ignored if trusted connection) 
       -P  -- password (ignored if trusted connection)
       -D  -- database on which you want to view the publication
       -N  -- publication name which you want to view
       -H -- heterogeneous publication
       -L  -- login timeout in seconds (0-100) 
       -T  -- query timeout in seconds (0-1000)

Example: PublicationProperties -S SVR5 -U SA -P my_password -D pubs -N pubs -L 50 -T 60