Forum Discussion
vk_pbi
Resolver II
3 years agoPowerShell Script to export Database Connection strings in XMLA
Hi there, I am working on a automation project, where i have a requirement to update the connection strings and credentials via powershell. The process flow would likely to be >Connect SQL Server...
lbendlin
Super User
3 years agoYou can run them from any xmla client tool, including Powershell.
lbendlin
Super User
3 years agoInvoke-ASCmd -Server "powerbi://api.powerbi.com/v1.0/myorg/<workspace>" -Database "<dataset>" -Query "select * from `$SYSTEM.TMSCHEMA_PARTITIONS" | Out-File -FilePath c:\users\<user>\Downloads\dmv.xml