Powershell query to find all SQL Instance names alone and export to .Txt

  • I am writing a query to find the SQL Servers which are all UP & Running. While doing so, I find that each instance has multiple SQL Instances. How to write a good powershell query to export all the SQL Instance details and export to Excel and .TXT so that at a next step I can check for tge ping status using win32_pingstatus Get-WMIObject class.

    Please suggest.

    Thanks in advance

    Thanks.

  • How about you come up with an attempt and then we help you with specific issues?

    Gaz

    -- Stop your grinnin' and drop your linen...they're everywhere!!!

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply