Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Location
    Quebec, Canada
  • Agent Count
    500 - 750 Agents
  1. Hi, Thanks for the reply. After changing to Shell and using the format you use to launch PowerShell I was able to sucessfully get the output! Regards,
  2. ATM the script's shell is: %SYSTEMROOT%\system32\cmd.exe /c %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command %ltsvcdir%\Scripts\HyperVMaintainer3.0.ps1 But initially it was powershell.exe -executionpolicy bypass -command %ltsvcdir%\Scripts\HyperVMaintainer3.0.ps1 It was just a test I made
  3. Hi all, I have been working with Automate Scripts for quite some time now and I have one issue which support cannot seem to understand. Everytime I use a Shell Function (Shell as Admin, Shell, Shell Enhanced), the variable %shellresult% always return OK, whether I am running an actual shell command (Like ping google.com) or if I am executing a powershell script. Do you have any idea on what could cause the issue. See one script result and content in attachement.
    Thanks! So simple yet so useful!
  • Create New...