Using latest version of SQLServer. When trying to use the Read-SQLXEvent with a server that does not have a certificate chain this error is received:
Read-SQLXEvent : A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
At line:1 char:1
Using latest version of SQLServer. When trying to use the Read-SQLXEvent with a server that does not have a certificate chain this error is received:
Please add an -Encrypt parameter that can be used to bypass this similar to Invoke-SqlCmd