Skip to content
/ PsDac Public

PsDac connects DacFx and PowerShell. It gives you PowerShell Cmdlets with the power of Microsoft.SqlServer.DacFx.

License

Notifications You must be signed in to change notification settings

abbgrade/PsDac

Repository files navigation

Readme

PsDac connects DacFx and PowerShell. It gives you PowerShell Cmdlets with the power of Microsoft.SqlServer.DacFx. For example you can access the content of a Dacpac file to generate documentation, or Azure Data Factory pipelines. Or do PowerShell native deployments without SqlPackage.exe.

For details, visit the GitHub Pages.

Installation

This module can be installed from PsGallery.

Install-Module -Name PsDac -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

See the command reference for descriptions and examples.

Changelog

See the changelog file.

Development

.github/workflows/build-validation.yml

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.