i am working on simplify things in replication in terms of automation,at the time of database refresh activity from production once replication set up done and after snapshot initialization there are approx 7 scripts manually executed.
2 for publisher (indexes , permissions), 5 on subscriber (Indexes , permission, triggers, etc..)
please suggest something to automate it.