I am trying to get the output of the server name and the following command on each new line of a text file:
sqlcmd -? | find “Version”
I would li