Skip to content

Configure your Script or Module with an overlaying config engine. Uses Microsoft.Extensions.Configuration

License

Notifications You must be signed in to change notification settings

JustinGrote/PowerConfig

Repository files navigation

PowerConfig

Configure your Script or Module with an overlaying config engine. Uses Microsoft.Extensions.Configuration as a backend.

PowerConfig Diagram

Users can configure your module or script from a variety of sources: multiple json files, yaml files, command line parameters, environment variables, etc. and this gives you a simple unified and merged key-value pair table for all of those configuration points.

If you have ever used ASP.NET Configuration this will seem very familiar because it is the same engine 😊.

Demo

Check out the demo script

Setup and Json Config Source

JsonDemo

YAML Config Source

YAMLDemo

Environment Config Source

EnvDemo

Powershell Objects and .psd1 files as Config Source

PSObjects

Realtime Info Updates

Realtime

About

Configure your Script or Module with an overlaying config engine. Uses Microsoft.Extensions.Configuration

Resources

License

Stars

Watchers

Forks

Packages

No packages published