Handling Variables between Multiple PSU Environments


For anyone who is actively using two PSU environments e.g. Dev & Prod, how are you handling Variables if the value(s) of the variables are dependent on the environment they are running in?

I plan to use Git sync to commit changes from my dev branch to the main branch but this will ultimately overwrite my variables in the main branch with values that aren’t relevant to that environment.

In my scenario, I am dealing with two Active Directory domains and two Azure tenants.


Product: PowerShell Universal
Version: 2.3.1
Hosted (IIS)