Child pages
  • Inject environment variable into winrm command
Skip to end of metadata
Go to start of metadata

I cannot inject environment variable into winrm invoke command section

Step-by-step guide

  1. Create environment variable WIN_SERVICE=IOSService in Build Environment
  2. Create WinRM Client in Build
  3. Add "Write-Host APP ${ENV:WIN_SERVICE}" in invoke command
  4. build it
  5. Cannot retrieve the environment variable WIN_SERVICE