September 10th, 2013

PowerTip: Publish Data to Orchestrator Data Bus

Doctor Scripto
Scripter

Summary: Publish Windows PowerShell data to the Orchestrator data bus.

Hey, Scripting Guy! Question Can I access data in my Windows PowerShell script from within Orchestrator?

Hey, Scripting Guy! AnswerSelect Published Data in the Run .NET Script activity, click Add, and fill in the details for the object you want to publish:

“Name”              Name you wish to use on the Databus
“Type”                           Type of .NET Object, Date/Time, String or Integer
“Variable Name”             PowerShell Object Name without the “$”

For example:

PowerShell

$UserName=”John Smith”

Orchestrator Published Data option in “Run .NET Script”

Image of menu

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.