Hi,
This is working from running PS1 but not working when running PS1 from batch file:
sprint2.ps1:
-----------
Set-StrictMode -Version Latest
$var1main=""
$var1=""
if ($var1main -eq $var1) {.\script1.ps1}
$var1main=$var1
Write-Host ("Value 1 main: " + $var1main)
sprint1.ps1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.