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 ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results