PsSqlLegacy is a PowerShell wrapper for the SQL Server tools SqlCmd and SqlPackage.
For details, visit the GitHub Pages.
See the command reference for descriptions and examples.
See the changelog file.
This module can be installed from PsGallery.
Install-Module -Name PsSqlLegacy -AllowPrerelease
Alternatively it can be built and installed from the sources:
- Install the development dependencies
- Download or clone it from GitHub
- Run the installation task:
Invoke-Build Install
- This is a Portable Module.
- VSCode is recommended as IDE. VSCode Tasks are configured.
- Build automation is based on InvokeBuild
- Test automation is based on Pester
- Commands are named based on Approved Verbs for PowerShell Commands
- This project uses git-flow.
- This project uses keep a changelog.
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
.
- Create a release branch using git-flow.
- Update the version number in the module manifest.
- Extend the changelog in this readme.
- If you want to create a pre-release.
- Push the release branch to GitHub, to publish the pre-release to PsGallery.
- Finish release using git-flow.
- Check if tags are not pushed to GitHub.
- Check if the release branch is deleted on GitHub.
- Create the release on GitHub.