I'm unable to get the environment variables (for example $env:RELEASE_RELEASENAME
) for a task that runs a PowerShell script on a target machine, however, the env variables work for PowerShell Inline.
Does getting env
variables from PowerShell on target machines need special treatment or am I missing something here?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.