< Back

New-DbaSsisCatalog

Mon Jan 13, 2020 1:00 pm

NAME New-DbaSsisCatalog



SYNOPSIS

Enables the SSIS Catalog on a SQL Server 2012+





SYNTAX

New-DbaSsisCatalog [-SqlInstance] <Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter[]> [[-SqlCredential]

<Pscredential>] [[-Credential] <Pscredential>] [[-SecurePassword] <Securestring>] [[-SsisCatalog] <String>]

[-EnableException <Switch>] [<CommonParameters>]





DESCRIPTION

After installing the SQL Server Engine and SSIS you still have to enable the SSIS Catalog. This function will

enable the catalog and gives the option of supplying the password.





PARAMETERS

-Credential [<Pscredential>]

Use a credential object instead of a securepassword



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-EnableException [<Switch>]

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.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-SecurePassword [<Securestring>]

Required password that will be used for the security key in SSISDB.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-SqlCredential [<Pscredential>]

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.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-SqlInstance [<Sqlcollaborative.Dbatools.Parameter.DbaInstanceParameter[]>]

SQL Server you wish to run the function on.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-SsisCatalog [<String>]

SSIS catalog name. By default, this is SSISDB.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Tags: SSIS, SSISDB, Catalog

Author: Stephen Bennett, https://sqlnotesfromtheunderground.wordpress.com/



Website: https://dbatools.io

Copyright: (c) 2018 by dbatools, licensed under MIT

License: MIT https://opensource.org/licenses/MIT



-------------------------- EXAMPLE 1 --------------------------



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.

-------------------------- EXAMPLE 2 --------------------------



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.



RELATED LINKS

https://dbatools.io/New-DbaSsisCatalog