Find MSSQL Server Errorlog Location with Logparser

We are running much SQL Servers with different located ErrorLogs. Sometimes its useful to find quick the Location from the Logs. I did a Command that gives me the Errorlog location to the Command prompt, so I can copy them on my Client and open it in my lovely Editor …

more ...