Powershell tool to refresh Power BI (*.pbix) workbooks
Script require UIAutomation libraries to work with GUI of Power BI Desktop interface.
refresher.ps1 -workbook NameOfWorkbook.pbix [-publish]
Parameters:
- workbook - filename of PBIX workbook
- publish - switch to publish the workbook, if not passed the workbook is only refreshed and saved locally (useful if OneDrive is used)