Skip to content

02. PS1 scripts expected return

otabut edited this page Jan 30, 2018 · 1 revision

Description of the PSCustomObject that must be returned by scripts :

  • Code = <int> # An integer that describe a return code. By convention, 0 should stand for no error.
  • Status = <string> # A return status : valid values are Success, Warning, Failure
  • Message = <string> # A free return message
  • RebootRequested = <boolean> # A boolean that indicates if computer needs to be restarted or not

Clone this wiki locally