-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Description
Hiyo!
In some cases, one might simply want to set, or add a property to an existing configuration. As is, Export-Configuration
simply overwrites everything.
I don't see an option to manually merge - if we import-configuration
to get current properties, we have no control over what scope, so it seems awkward to assume we can let the winner of import-configuration override the specific scope a user selects. Maybe I'm not thinking it through though.
I see two potential workarounds:
- Allow something like a
-Merge
switch on the export, which reads the current config, and adds / updates properties as needed - Allow specifying the scope on
Import-Configuration
Both might come in handy depending on your scenario and desire for abstraction.
Cheers!
scrthq and Jaykul