I cannot inject environment variable into winrm invoke command section
Step-by-step guide
- Create environment variable WIN_SERVICE=IOSService in Build Environment
- Create WinRM Client in Build
- Add "Write-Host APP ${ENV:WIN_SERVICE}" in invoke command
- build it
- Cannot retrieve the environment variable WIN_SERVICE
Related articles