Skip to content

PsXmla connects XMLA and PowerShell. It gives you PowerShell Cmdlets with the power of Microsoft.AnalysisServices.Tabular

License

Notifications You must be signed in to change notification settings

abbgrade/PsXmla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PsXmla

PsXmla connects XMLA and PowerShell. It gives you PowerShell Cmdlets with the power of Microsoft.AnalysisServices.Tabular. For example you can automate your work with Tabular Editor and the Power BI XMLA endpoints.

Installation

This module can be installed from PsGallery.

Install-Module -Name PsXmla -Scope CurrentUser

Alternatively it can be build and installed from source.

  1. Install the development dependencies
  2. Download or clone it from GitHub
  3. Run the installation task:
Invoke-Build Install

Usage

TODO

Commands

Command Description Status
Connect-Instance Create a new database connection.
⮱ Polly Retries Implement retry policies on Polly
Disconnect-Instance Close connection
Invoke-Command Execute SQLCMD scripts
⮱ Retry support Specify the number of retry attempts
⮱ Power BI exceptions Parse and handle exceptions from Power BI

Changelog

See the changelog file.

Development

Build

The build scripts require InvokeBuild. If it is not installed, install it with the command Install-Module InvokeBuild -Scope CurrentUser.

You can build the module using the VS Code build task or with the command Invoke-Build Build.

Release

  1. Create release branch using gitflow.
  2. Update version number in psd1 file.
  3. Update changelog in this readme file.
  4. Uninstall old versions.
  5. publish release using Invoke-Build Publish.
  6. finish release using gitflow.

About

PsXmla connects XMLA and PowerShell. It gives you PowerShell Cmdlets with the power of Microsoft.AnalysisServices.Tabular

Topics

Resources

License

Stars

Watchers

Forks