From Enterprise Manager I can script replication for ALL replicated databases and the script automatically creates the following statements.

-- Adding the registered subscriber
exec sp_addsubscriber ...
exec sp_changesubscriber_schedule ...

However, if I wish to script each database separately EM does not generate the script to create the subscriber. Does anyone know of a way to generate this script without being forced to script ALL replicated databases?

Thanks, Dave