The Ed-Fi Alliance source code repositories for the ODS/API contain many PowerShell scripts that are useful for development and deployment of the ODS/API components. While the "Getting started" section introduces the initdev command, it does not make clear what is going on under the hood - and what other functions are available. This page aims to correct that by documenting many of the most commonly-used functions.
Each module mentioned below can be loaded into the current PowerShell context via dot-sourcing or Import-Module . Examples: Code Block |
---|
PS C:\Ed-Fi\Ed-Fi-Ods-Implementation> ..\Ed-Fi-Common\logistics\modules\EdFiDatabaseLifecycle.V1
# or in a script
Import-Module -Force -Scope Global ..\Ed-Fi-Common\logistics\modules\EdFiDatabaseLifecycle.V1 |
Review the top of InitializeDevelopmentEnvironment.psm1 for more detailed Import-Module examples that use the path-resolver to find modules. |