Checking Log-shipping on a Secondary SQL Server with PowerShell

You can validate the status of log-shipping to a secondary server if you suspect it has been broken. Below is the script, which uses the SQLPS module:

If you are ambitious, you can add a function to your profile such as the one below:

Views – 3902