Techdivision
asked on
. .\Variables.ps1 returning CommandNotFound
I am trying to call a variable called $company from one powershell script called "Variables.ps1" into another powershell script in the same folder called "edit_website.ps1" at the top of "edit_website.ps1" i have . .\variables.ps1 and then later on in the script i call on "$company" but it returns nothing leading me to think that the variable is not being loaded. When running the "edit_website" script it returns "the term '.\variables.ps1' is not recognized" Could anyone shine any light on why this is?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER