Ed-Fi PowerShell Automation
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 is implicitly loaded when you run .\Initialize-PowerShellForDevelopment.ps1
 from the Ed-Fi-ODS-Implementation
 directory. Alternately, you can be load them into the current PowerShell context via Import-Module
:
# "-Force" and "-Scope Global" are optional # Assuming working directory is Ed-Fi-ODS-Implementation Import-Module -Force -Scope Global scripts\NuGet\EdFi.RestApi.Datagbases\Deployment.psm1 Import-Module -Force -Scope Global Application\SolutionScripts\InitializeDevelopmentEnvironment.psm1
Review the top of InitializeDevelopmentEnvironment for more detailed Import-Module
 examples that use the path-resolver to find modules.