Initialize-EdFiDatabase

Description

Creates a new Ed-Fi database based on the provided database lifecycle strategies.

Syntax

Initialize-EdFiDatabase [-Settings] <hashtable> [-Database] <string> [-CSB] <DbConnectionStringBuilder> [[-CreateByRestoringBackup] <string>] [[-BackupStrategy] <scriptblock>] [[-RemoveStrategy] <scriptblock>] [[-CreateStrategy] <scriptblock>] [[-ScriptStrategy] <scriptblock>] [<CommonParameters>]

Parameters

Name

Alias

Description

Required?

Pipeline Input

Default Value

-BackupStrategy

None


false

false


-CSB

None


true

false


-CreateByRestoringBackup

None


false

false


-CreateStrategy

None


false

false


-Database

None


true

false


-RemoveStrategy

None


false

false


-ScriptStrategy

None


false

false


-Settings

None


true

false