You can create custom recovery steps that run commands or present messages to the user during a recovery.
Site Recovery Manager can run custom steps either on the Site Recovery Manager Server or in a virtual machine that is part of the recovery plan.
When you add custom recovery steps, the steps are shared between the Test workflow and Run workflow. You cannot run custom steps on virtual machines that are to be suspended.
During reprotect, Site Recovery Manager preserves all custom recovery steps in the recovery plan. If you perform a recovery or test after a reprotect, custom recovery steps are run on the new recovery site, which was the original protected site.
After reprotect, you can usually use custom recovery steps that show messages directly without modifications.
However, if there are custom steps that run commands containing site-specific information, such as network configurations, you might need to modify these steps after a reprotect.
You can configure commands and prompts in recovery plan steps that signify the completion of a particular operation. You cannot add commands and prompts before the Configure Test networks step.