Author | Stephen Bennett, https://sqlnotesfromtheunderground.wordpress.com/ |
Availability | Windows, Linux, macOS |
Want to see the source code for this command? Check out New-DbaSsisCatalog on GitHub.
Want to see the Bill Of Health for this command? Check out New-DbaSsisCatalog.
Creates and enables the SSIS Catalog (SSISDB) database on SQL Server 2012+ instances
Creates the SSIS Catalog database (SSISDB) which is required before you can deploy, manage, or execute SSIS packages on the server. Installing SQL Server with SSIS doesn't automatically create this catalog - it's a separate post-installation step that requires CLR integration and a secure password for the master key. This function handles the entire setup process, including prerequisite validation, so you don't have to manually run SQL scripts or navigate through SQL Server Management Studio wizards.
New-DbaSsisCatalog
[-SqlInstance] <DbaInstanceParameter[]>
[[-SqlCredential] <PSCredential>]
[[-Credential] <PSCredential>]
[[-SecurePassword] <SecureString>]
[[-SsisCatalog] <String>]
[-EnableException]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
PS C:\> $SecurePassword = Read-Host -AsSecureString -Prompt "Enter password"
PS C:\> New-DbaSsisCatalog -SqlInstance DEV01 -SecurePassword $SecurePassword
Creates the SSIS Catalog on server DEV01 with the specified password.
PS C:\> New-DbaSsisCatalog -SqlInstance sql2016 -Credential usernamedoesntmatter
Creates the SSIS Catalog on server DEV01 with the specified password in the credential prompt. As the example username suggets the username does not matter.
This is simply an easier way to get a secure password.
SQL Server you wish to run the function on.
Alias | |
Required | True |
Pipeline | true (ByValue) |
Default Value |
Login to the target instance using alternative credentials. Accepts PowerShell credentials (Get-Credential).
Windows Authentication, SQL Server Authentication, Active Directory - Password, and Active Directory - Integrated are all supported.
For MFA support, please use Connect-DbaInstance.
Alias | |
Required | False |
Pipeline | false |
Default Value |
Provides an alternative way to supply the master password using a PSCredential object instead of SecurePassword. The username portion is ignored - only the password from the credential is used.
This approach simplifies password input by allowing you to use Get-Credential, which presents a secure password prompt dialog.
Alias | |
Required | False |
Pipeline | false |
Default Value |
Specifies the master password that encrypts the SSIS catalog database master key. This password is required to access and decrypt sensitive data like connection strings and package parameters stored
in SSISDB.
Use Read-Host -AsSecureString or ConvertTo-SecureString to create this value securely without exposing the password in plain text.
Alias | Password |
Required | False |
Pipeline | false |
Default Value |
Specifies the name for the SSIS catalog database that will be created. Defaults to 'SSISDB' which is the Microsoft standard name.
Only change this if your organization has specific naming requirements, as most SSIS tooling and documentation assumes the standard SSISDB name.
Alias | |
Required | False |
Pipeline | false |
Default Value | SSISDB |
By default, when something goes wrong we try to catch it, interpret it and give you a friendly warning message.
This avoids overwhelming you with "sea of red" exceptions, but is inconvenient because it basically disables advanced scripting.
Using this switch turns this "nice by default" feature off and enables you to catch exceptions with your own try/catch.
Alias | |
Required | False |
Pipeline | false |
Default Value | False |
Shows what would happen if the command were to run. No actions are actually performed.
Alias | wi |
Required | False |
Pipeline | false |
Default Value |
Prompts you for confirmation before executing any changing operations within the command.
Alias | cf |
Required | False |
Pipeline | false |
Default Value |