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. 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. You might need to modify some custom recovery steps after a reprotect, if these steps run commands that contain site-specific information, such as network configurations.
You can configure commands and prompts in recovery plan steps that signify completion of a particular operation. You cannot add commands and prompts before the Configure Test networks step.
You cannot add commands and prompts to these top-level steps relevant to storage policy protection groups:
Test VMs Recovery complete
Test Consistency Groups recovery complete
Protection Groups test failover complete
VMs Recovery complete
Consistency Groups recovery complete
Protection Groups recovery complete
Protection Groups migration complete