aldrichtr / infraspective

Infrastructure testing using pester
MIT License
18 stars 0 forks source link

Update running config with configurations on the commandline and in includes #71

Closed aldrichtr closed 2 years ago

aldrichtr commented 2 years ago

Closes #69

aldrichtr commented 2 years ago

With this change, you can now specify a configuration file to use, and that configuration file can include other configuration files like so:

@{
  #...
  Include = @ (
     'config/win10-controls.psd1'
     'config/cis-baseline.psd1'
}

Note that at this time, those "second level" config files are not checked for Include directives... maybe a recursive include would be useful in the future?