3 Replies Latest reply on Jul 20, 2017 6:54 AM by LANDeskWizrd

    Powershell script always returns Failed

    ldms_4mfe Apprentice

      Hi,

       

      I got a similar Problem as this one

      Powershell script always returns successful?

       

      But in my case it always returns failed.

       

      But in fact the script runs Successfully.

       

      Wed, 19 Jul 2017 15:02:02 ExpandEnvironmentVariables Result: Set-ExecutionPolicy -ExecutionPolicy bypass
      Wed, 19 Jul 2017 15:02:02 PowerShell file Client Thread
      Wed, 19 Jul 2017 15:02:02 file exists check runtime
      Wed, 19 Jul 2017 15:02:02 runtime version: v2.0.50727
      Wed, 19 Jul 2017 15:02:09 PowerShell output: [INFO][19.07.2017][15:02:07] - Cert Missing: CA-Root
      
      [INFO][19.07.2017][15:02:08] - Certificate Imported
      
      [INFO][19.07.2017][15:02:08] - Cert Missing: CA-SUB
      
      [INFO][19.07.2017][15:02:08] - Certificate Imported
      
      
      Wed, 19 Jul 2017 15:02:09 Installation result -1917517824
      Wed, 19 Jul 2017 15:02:09 RunPackageInstall: stop on returncode=8db50000 of package=SSN-CA
      Wed, 19 Jul 2017 15:02:09 processing of package is complete, result -1917517824 (0x8db50000 - code 0)
      

       

      I also try to add a exit 0 in the PS Script:

      exit 0
      

       

       

      Has anybody a tipp for me, why the result is -1917517824

       

      Thank you, Marco