New-DevartDatabaseProject

Last modified: March 28, 2025

Synopsis

Creates a new database project.

Description

The cmdlet creates an object that represents the project from a path.

Syntax

New-DevartDatabaseProject [-SourceScriptsFolder] <string> [<CommonParameters>]

Parameters

-SourceScriptsFolder <string>

Path to the folder of source scripts to build database.

Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false

<CommonParameters>

This cmdlet supports the following common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, InformationAction, InformationVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see About CommonParameters.

Outputs

Devart.DbForge.DevOpsAutomation.SqlServer.DatabaseProject

Examples

---------- EXAMPLE 1 ----------
$databaseProject = New-DevartDatabaseProject -SourceScriptsFolder $scriptFolder