Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 17778

PowerTip: Use PowerShell to Access Orchestrator Variables or Data

$
0
0

Summary: Use Windows PowerShell to access the Orchestrator variables or published data.

Hey, Scripting Guy! Question How can I use Windows PowerShell to access the Orchestrator variables or published data from the data bus?

Hey, Scripting Guy! AnswerRight-click the middle of the script, click Subscribe, and choose Variable or Published Data as you normally would in Orchestrator.

Ensure that you enclose the subscribed data within quotation marks if the information is a string or Date/Time data, and then assign it to a Windows PowerShell object as you normally would:

$FooString=”{SomeCoolThingInOrchestrator}”

$FooNumber={ACounterOfSomeKind}

[Datetime]$FooDate=”{DateFieldfromOrchestrator}”


Viewing all articles
Browse latest Browse all 17778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>