Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
Automic Continuous Delivery Automation
Private Community
View Only
Community Home
Threads
1.4K
Library
27
Events
0
Members
195
Back to {0}
PREP_PROCESS_REPORT issue
Thread closed by the administrator, not accepting new replies.
Add a tag
x
User Tags may not contain the following characters: @ # $ & :
Aj Revelino
posted Sep 20, 2021 04:15 AM
Hi All,
I'm testing a task that executes windows powershell commands in a target server. I would like to process the console output of the powershell commands in the post process section of the task in CDA. I created a windows job that executes the powershell commands but I don't see any output when I tried the PREP_PROCESS_FUNCTION. Any directions on what I'm missing will be really helpful. Thanks!
Example code that I used from
https://docs.automic.com/documentation/webhelp/english/AWA/12.1/DOCU/12.1/AWA%20Guides/help.htm#AE_AWA_Source/Script/ucaavf.htm?Highlight=PREP_PROCESS_REPORT
:
SET
&HND#
=
PREP_PROCESS_REPORT
(
"JOBS"
,,
"REP"
,
"*C:\*"
)
:
PROCESS
&HND#
:
SET
&RET#
=
GET_PROCESS_LINE
(
&HND#
)
:
PRINT
&RET#
:
ENDPROCESS
Copyright 2019. All rights reserved.
Powered by Higher Logic