I've got a couple of Powershell scripts that automate DLL transferal and I'd like to import the variables from one text file into the various scripts. My example:
Variables.txt
$foo = "blarg"
$bar = "other blarg"
And then I'd like to do something like this:
Script.ps1
Imports Variables.txt
echo "$foo $bar"