• Using Powershell is simple, the syntax is sqlcmd -Lc | Out-File c:\serverlist.txt