Jump to content

holytoutant

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

My Information

  • Location
    Quebec, Canada
  • Agent Count
    500 - 750 Agents
  1. 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
  2. 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...