Run Command Action error for powershell
search cancel

Run Command Action error for powershell

book

Article ID: 412353

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

"Run Command Action" for powershell commands returns error like :

Run Command Line action has failed.
Return value: 1. Return value is not equal to expected 0
Std out:
Std err: Get-ChildItem : Cannot retrieve the dynamic parameters for the cmdlet. Retrieving the COM class factory for component with CLSID {<UUID>} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Environment

Release Automation 6.8.0, 6.8.1, 6.8.2, 6.8.3, 6.9.0

Cause

"Run Command Action" is executed with a 32 bits cmd.exe instead 64 bits cmd.exe

Resolution

This problem is resolved in version 6.8.4 and 6.9.1.

This problem appears in Fixed issues list of both release :

6.8.4 - Nolio action runs as 32bit instead of 64bit.
6.9.1 - Nolio agent Run Command Line action runs in 32bit mode

 

Upgrade the Agent to version 6.8.4 (of higher) or 6.9.1 or higher