title: batch file problem: pass powershell variable to batch
body: <p>i have this hybris batch/powershell base64 decoder and i want to decode the string in powershell and set the decoded variable to a variable in batch, this is my code</p>
  <pre><code>@echo off
  set syscall=dGVzdGluZ3hk
  powershell.exe $decoded=[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($env:syscall));
  </code></pre>