It's cheese because it's using a side effect of New-CimSession (that it will throw an exception if the creds are wrong), rather than a proper method. Also, it only verifies credentials, not ...
A failed Hyper-V replication setup prompts a PowerShell-based approach to building lightweight, do-it-yourself health monitoring without the cost or complexity of an enterprise-grade tool ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results