The SRM Samples directory provides sample workflows which automate tasks for configuring protection of virtual machines, creation of Site Recovery Manager infrastructure, and so on.