Asked By
AdrielSmith
0 points
N/A
Posted on - 08/15/2011
My Windows Powershell won’t run and keeps coming with an error message:
Advanced Admin Console
Couldn’t run powershell.exe
I can run it with a logged in session, but that would mean that I have to be logged into the computer for the whole day. Is there any other way that I can get rid of this error message?
If anyone has any insight let me know?
Answered By
kitty
0 points
N/A
#114609
Advanced Admin Console Couldn’t run powershell.exe
Hi there,
Welcome from Techyv. I think, maybe your Powershell.exe is not working. Somehow this file is corrupted. So from below link please download the Powershell again.
Please note. Before running new Powershell, you must delete old files from your computer and restart your computer as well. Hope your problem will solve. If this post helps you to solve your problem, please reply here with thanks.
Best wishes and cheers.
Advanced Admin Console Couldn’t run powershell.exe
Greetings Adriel Smith,
I have indeed experienced this type of an error. I can't remember what software that was. Windows PowerShell needs to have a qualified path to the script files. Maybe that's why the Windows PowerShell won't run.
I suggest you use the "powershell.exe .myscript.ps1".
Sometimes the error lies in the current working directory or the path to the scripted is using or something similar.
powershell.exe C:UsersFooScriptsmyscript.ps1
Regards,
Collins Brady