I am trying to get a return code from a Powershell cmdlet. This return code will be passed to a Saltstack cmd.run state (success_retcodes parameter)
cmd.run