Hello all,
I am writing a script1.ps1 and script2.ps1. and want to store the value in a variable in script1.ps1 and use that value during the execution of script2.ps1 . is it possible. ?
such that :
steps want: 1) ./script1.ps1 which saves the value in variable "A"
2) ./script2.ps1 $A
Please help me to find out to use the value globally in different scripts.