You can automate Site Recovery Manager installation, upgrade, and uninstallation.