shellpower.sqlserver 1.0.9

dotnet add package shellpower.sqlserver --version 1.0.9
NuGet\Install-Package shellpower.sqlserver -Version 1.0.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="shellpower.sqlserver" Version="1.0.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add shellpower.sqlserver --version 1.0.9
#r "nuget: shellpower.sqlserver, 1.0.9"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install shellpower.sqlserver as a Cake Addin
#addin nuget:?package=shellpower.sqlserver&version=1.0.9

// Install shellpower.sqlserver as a Cake Tool
#tool nuget:?package=shellpower.sqlserver&version=1.0.9

shellpower.sqlserver

Provides powershell cmdlets for managing and configuring sql server in a repeatable manner, ideal for continuous integration/deployment scenarios.

Usage

  • Install nuget package

    nuget install shellpower.sqlserver -outputdirectory packages
    
  • Create new file getting-started.ps1 with the following content

    
    # dot source the script
    . packages\bin\sqlserver.ps1 -dbServer "localhost" -dbName "foo"
    
    # Create sql user "bar" and assign it to db "foo"
    Add-DbUser -name "bar" -password "test-passw0rd!"
    
    # Remove sql user "bar" from db "foo" and from sql logins
    Remove-DbUser "bar"
    
  • Run .\getting-started.ps1

Refer to the tests in the source code for more examples.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9 508 9/24/2019
1.0.9-rc2 329 7/3/2019
1.0.9-rc1 1,523 1/21/2019
1.0.8-alpha 447 12/27/2018
1.0.7-alpha 479 12/19/2018
1.0.6-alpha 449 12/17/2018
1.0.5-alpha 457 12/11/2018
1.0.4-alpha 446 12/8/2018
1.0.1-alpha 452 11/19/2018
1.0.0-alpha 480 11/19/2018

This package includes the powershell cmdlets, which can be referenced by your powershell scripts for performing common sql server configuration operations.