New-DevartDatabaseProject

Synopsis

Creates a new database project.

Description

The cmdlet creates an object that represents the project at the specified path.

Syntax

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

Parameters

-SourceScriptsFolder

Specifies the path to a scripts folder containing scripts to build a database.

-SourceScriptsFolder <string>
Property Default value
Required True
Position 1
Default value -
Accept pipeline input False
Accept wildcard characters False

Common parameters

<CommonParameters>

This cmdlet supports these common parameters:

  • Verbose – Provides detailed output about the command operation.
  • Debug – Provides debugging information.
  • ErrorAction – Specifies how to respond to errors.
  • ErrorVariable – Stores error messages in a variable.
  • WarningAction – Specifies how to respond to warnings.
  • WarningVariable – Stores warning messages in a variable.
  • InformationAction – Specifies how informational messages are handled.
  • InformationVariable – Stores informational messages in a variable.
  • OutBuffer – Controls the number of objects buffered before output.
  • PipelineVariable – Stores the current pipeline object in a variable.
  • OutVariable – Stores output objects in a variable.

For more information, see About Common Parameters.

Output

Devart.DbForge.DevOpsAutomation.SqlServer.DatabaseProject

Example

$databaseProject = New-DevartDatabaseProject -SourceScriptsFolder $scriptFolder