Opslag

Viser opslag fra maj, 2016

Find computers that last logged on 360 days ago with PowerShell

Use this code to find computers that last logged on 360 days ago:

Resume Hyper-V replication after server reboot with PowerShell

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.