Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepowershell
titleOutput Syntax
setOutput {output name} {output value} 

#Example 
Call: setOutput RESULT %{STATUSRESULT_VARIABLE}%

Outputs are aggregated into a CSV list for partial deployments.

The above RESULT example would contain an entry for each file in the object list.  [SUCCESSYES, FAILEDNO]

Code Block
languagebash
titleIndicate file was not processed and should not consider status
# just call ignoreStatus for File that this shell did not process
ignoreStatus


Excerpt
hiddentrue

Overriding the file status

There may be cases when you want to manually set the status for any particular file when scripting.  The below functions can be utilized to set the status of the file as you see fit:

Code Block
languagebash
Call: setObjectResultStatusSuccess
Call: setObjectResultStatusFailed
Call: setObjectResultStatusSkipped
Call: setObjectResultStatusNotAttempted
Call: setObjectResultStatusIgnore