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
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
IT Process Automation
Private Community
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
How to pass to dataset arry process variable to powershell run script operator
Jump to
Best Answer
venkateswarlu v
Nov 19, 2019 01:44 AM
Hi, I'm looking for ways to pass the dataset variable of type 'array' to the PowerShell run script operator. ...
Michael St. Laurent
Nov 20, 2019 09:16 AM
Best Answer
A dataset array will just pass into posh as a comma delimited string. In posh just split it back on ...
venkateswarlu v
Nov 27, 2019 11:59 AM
Intresting, Will definitely give a try and let you know.------------------------------------------- ...
1.
How to pass to dataset arry process variable to powershell run script operator
0
Recommend
venkateswarlu v
Posted Nov 19, 2019 01:44 AM
Reply
Reply Privately
Options Dropdown
Hi,
I'm looking for ways to pass the dataset variable of type 'array' to the PowerShell run script operator.
I have found a similar thread of the same kind. but is there a straight forward way to feed the array type variables to PowerShell script.
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=800072
Thanks,
Venkat
2.
RE: How to pass to dataset arry process variable to powershell run script operator
Best Answer
1
Recommend
Michael St. Laurent
Posted Nov 20, 2019 09:16 AM
Reply
Reply Privately
Options Dropdown
A dataset array will just pass into posh as a comma delimited string. In posh just split it back on the commas to get it back to an array. Below is a snippet of how we pass dataset variables to posh.
'-AppID \'' + Datasets["/Scheduled Jobs/AD GPO Export Dataset"].AppID + '\''
Original Message
Original Message:
Sent: 11-19-2019 01:43 AM
From: venkateswarlu v
Subject: How to pass to dataset arry process variable to powershell run script operator
Hi,
I'm looking for ways to pass the dataset variable of type 'array' to the PowerShell run script operator.
I have found a similar thread of the same kind. but is there a straight forward way to feed the array type variables to PowerShell script.
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=800072
Thanks,
Venkat
3.
RE: How to pass to dataset arry process variable to powershell run script operator
0
Recommend
venkateswarlu v
Posted Nov 27, 2019 11:59 AM
Reply
Reply Privately
Options Dropdown
Intresting, Will definitely give a try and let you know.
Original Message
Original Message:
Sent: 11-20-2019 09:16 AM
From: St. Laurent
Subject: How to pass to dataset arry process variable to powershell run script operator
A dataset array will just pass into posh as a comma delimited string. In posh just split it back on the commas to get it back to an array. Below is a snippet of how we pass dataset variables to posh.
'-AppID \'' + Datasets["/Scheduled Jobs/AD GPO Export Dataset"].AppID + '\''
Original Message:
Sent: 11-19-2019 01:43 AM
From: venkateswarlu v
Subject: How to pass to dataset arry process variable to powershell run script operator
Hi,
I'm looking for ways to pass the dataset variable of type 'array' to the PowerShell run script operator.
I have found a similar thread of the same kind. but is there a straight forward way to feed the array type variables to PowerShell script.
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=800072
Thanks,
Venkat
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic