![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: PowerShell Topic Summary: Created On: 02/24/2015 08:12 AM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
||||||||||
I'm trying to run PowerShell scripts from Automate but it doesn't work.
I get this error message: 'This activity requires PowerShell 2.0 or higher to be installed' but I have PowerShell 4 with ISE and the lot installed on the server. Automate 10.1.0.12 (64 bit) Windows Server 2008 R2 Standard Microsoft Windows Management Framework 4.0 (PowerShell 4 incl. ISE)
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hello Stefan,
Would you be so kind as to export the Task in question from Task Administrator, *.zip it up and attach it to this forum post OR if it has proprietary information please email it to automate.support@helpsystems.com, so we may review? I would like to do some internal testing. Is your Powershell script something we can execute in house? If not, is it possible for you to mock up a sample task that contains a Powershell script that will throw the same error? Please reference 'Forum - PowerShell' in the Subject title.
------------------------- ![]() Valentineo McGowan | Technical Consultant AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
It's not actually a script as such, I'm just trying this activity out
I've just put '$PSVersionTable.PSVersion' in Embeded script.
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hello Stefan,
Please use the attached code. Run the step. Please view the 'Variable' pane at the bottom of Task Builder an let me know what you see.
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- ![]() Valentineo McGowan | Technical Consultant AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
I'm only getting this output.It doesn't seem like Automate recognise that Powershell is installed on the server.
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) |
||||||||||
|
||||||||||
![]() |
||||||||||
Are Automate and powershell having the same user with enough rights for both programs? Maybe Automate cannot access the program
------------------------- ![]() |
||||||||||
|
||||||||||
![]() |
||||||||||
I am having the exact same issue, Even a very simple script is giving me this error. We are very reliant on powershell
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hello Fletcher,
Is the exact error message: 'This activity requires PowerShell 2.0 or higher to be installed'? If so, where are you seeing the error message appear; in Task Builder or in Task Administrator? I have used the following AML code which simply displays the version of PowerShell in a Dialog Box to attempt in reproducing this behavior and have been unable to do so: 10.2 x64 on Windows 8.1 | success 10.3 x64 on Windows 8.1 | success 10.2 x64 on Windows Server 2008 R2 | success 10.2 x64 on Windows 7 Ultimate x64 | success Please let us know your availability for setting up a Remote Session so we may see this issue first hand. If this is possible please send an email over to automate.support@helpsystems.com. AutoMate Technical Support is available from 6am to 5pm Monday through Friday Pacific time (GMT -7). Toll Free 888.786.4796 Note: Please reference the Topic Title of this forum thread in the subject 'PowerShell'.
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) ------------------------- ![]() Valentineo McGowan | Technical Consultant AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665 Edited: 06/30/2015 at 04:46 PM by Valentineo McGowan |
||||||||||
|
||||||||||
![]() |
||||||||||
Folks, I'm getting the exact same issue. Here are my environment details and scenario:
Powershell is extremely important as we use WMIobjects to talk to services on servers, and this is fully operational on the client using LSE and SAPIEN PS. If it works on a machine there must be a reason why Automate does not pickup the version of PS on the machine. Can you please advise. Screenshot attached which will explain.
Many thanks G
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hello,
Would it be possible to set-up a GoToAssist session where we can take a closer look at this issue? If this is possible please send an email over to AutoMate.Support@helpsystems.com with a list of your availability. Note: Please reference this forum thread in your email.
------------------------- ![]() Ricardo Castaneda | Principal Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
||||||||||
|
||||||||||
![]() |
||||||||||
Hi, did you find a solution for this? We are experiensing this as well.
Kind regards
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hello,
We weren't able to get to the bottom of the issue. Are you running the same bitness of BPA and Powershell?
------------------------- ![]() Ricardo Castaneda | Principal Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
||||||||||
|
||||||||||
![]() |
||||||||||
I'm not familiar with BPA so that must mean we don't use it. Just a stand alone installed Automate 10.3.0.13 on a Windows Server 2012R2. I copied the test steps you provided but also get the message about Powershell missing.
Kind regards
|
||||||||||
|
||||||||||
![]() |
||||||||||
I tried adding Powershell 2.0 feature on the server but that didn't help either. Kind regards
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Rasmus,
Are you running AutoMate 32 or 64 bit? Are you running Powershell 32 or 64 bit?
------------------------- ![]() Ricardo Castaneda | Principal Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 |
||||||||||
|
||||||||||
![]() |
||||||||||
I didn't install Automate myself and didn't find any clear indication of what version it is but it is installed under Program Files (not x86) which must mean it is the 64-bit version. Powershell is added by Windows own "add feature" so that must also be 64-bit version. I ended up using the Run feature within Automate to call on powershell.exe instead. A little bit more work than if the Powershell feature would have worked but my goal with the job is achieved now. Kind regards
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hello All,
Presently initial testing as determined there is a known issue with AutoMate v10+ and Powershell v5.0. Our Powershell action fails to execute resulting in the following error message: [Main](Step 1) This activity requires PowerShell 2.0 or higher to be installed. This behavior does not occur with Powershell v2.0 and v4.0. I have since sent this to our Development team as a potential defect. This Forum Thread will be updated when a Bug# has been issued. I will be updating the Forum Thread myself once I have the Bug# from Development. Thank you ALL for your patience and your assistance in bringing this issue to the attention of our Technical Support staff.
------------------------- ![]() Valentineo McGowan | Technical Consultant AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
Hello All,
We are aware of this behavior and are presently in the process of correcting it. 18831 | Powershell Action errors when Powershell 5.0 & AM/BPA v10+ are present This forum thread will be updated when 18831 has been issued for a release in the next build. Thank you for your patience and your assistance in resolving this issue with our Technical Support staff.
------------------------- ![]() Valentineo McGowan | Technical Consultant AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Valentineo, Any update on this? Also, will this fix the same error message, but when you have PowerShell 4 installed? I run into the exact same thing but I have: Regards
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Erik, Valentineo is no longer with the company, but I'll keep you updated on this issue through the open support ticket.
------------------------- ![]() Devin Cannon | Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
I also have the exact same problem with Automate BPA 10.4.2.1
Windows Server 2016 Major Minor Build Revision ----- ----- ----- -------- 5 1 14393 2068
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hi Gustav,
This issue was fixed in version 10.5.
------------------------- ![]() Devin Cannon | Support Analyst AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||
|
AutoMate Discussion
» AUTOMATE » AutoMate 10
»
PowerShell
|
![]() |
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.