AndyGilly Posted February 23, 2021 Share Posted February 23, 2021 within a runbook I would like to use the output of a PowerShell script as the description of a service manager ticket. Can you help with the best way to achieve this?? thanks Andy Link to comment Share on other sites More sharing options...
Ricky Posted February 23, 2021 Share Posted February 23, 2021 Hi @AndyGilly, You will need to first get the output into a variable, this can be achieved by creating a package operation output parameter in the package creator, and then outputting the value using the following: Write-Output "{{SISJobOutputParameterStart:outputParamaterName}}$($YourVariable){{SISJobOutputParameterEnd}}" further details of this can be found here: https://wiki.hornbill.com/index.php?title=Package_Creator#Output_Parameters Regrads, Ricky Link to comment Share on other sites More sharing options...
AndyGilly Posted February 23, 2021 Author Share Posted February 23, 2021 thanks for the quick reply @Ricky, appreciated Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now