Powershell_ISE job is not executing from Autosys

book

Article ID: 220942

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

A job that attempts to run a PowerShell command on a Windows agent using the "powershell_ISE.exe" utility fails in AutoSys. 

Environment

Release : 11.3.6/12.0

Component : CA Workload Automation AE (AutoSys)

Resolution

powershell_ISE.exe launches a GUI-based interface for developing and testing PowerShell scripts. It is intended to be an interactive development environment and is not the best tool to use for running PowerShell scripts in batch mode from a scheduler. Use powershell.exe (-Command or -File) instead to run PowerShell scripts with an AutoSys command job.