This PowerShell script will resume Hyper-V machine replication after a server reboot. I schedule it to run each morning. It will write the status to a local log file and will only modify the replica status of the virtual machine if it does not equal Normal.