Video Screencast Help

PowerShell 3.0 and Task Servers

Created: 26 Mar 2013 • Updated: 07 Apr 2013 | 2 comments
This issue has been solved. See solution.

Are there any issues with Powershell 3.0 running on a task server? I am trying to run a "Run on Task Server Task" that is a powershell script against a task server that was upgraded to 3.0 but get the following error:

script errors: 'powershell' is not recognized as an internal or external command,
operable program or batch file.

PowerShell launches just fine on the server manually.

Operating Systems:

Comments 2 CommentsJump to latest comment

fabio.sanches's picture

Hi Noodle,

Could you please execute the command path in this server and post the results here?

I think this is some Microsoft issue.


Fábio Sanches

noodleNT's picture

I got it working after installation you have to reboot. Then launch ISE so it can finish configuration of PowerShell and then reboot again (may just need to restart the Altiris services).

Now the PS 3.0 function I was trying to use was "Invoke-WebRequest". I would get the following error after the steps above:

Invoke-WebRequest : The response content cannot be parsed because the Internet
Explorer engine is not available, or Internet Explorer's first-launch
configuration is not complete. Specify the UseBasicParsing parameter and try

To fix this issue, I had to login to each site server with the Altiris service account and launch IE and go through the initial config. After those steps PS 3.0 behaved as expected.