Save BAQ result to Text File

Alternatively, you can call the BAQ REST Service and download your data directly via PowerShell.