Child pages
  • Inject environment variable into winrm command

Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

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