You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.