Do you want results only for PowerShell How to Check SqlConnection?
See more