Can someone explain why the following command is not running from within AutoIT, yet, the next line is running fine from the command prompt? In both cases Run As Administrator is being used.
RunWait(@ComSpec & ' /c ' & 'powershell -executionpolicy bypass -command "import-startlayout -layoutpat...