You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-07-18 11:54:56

marioalpha
Member
Registered: 2019-06-11
Posts: 35

Task deploy powershell script

Good morning,
I would like to perform a Powershell script via GlpidePloy Task but this is not successfully performed, where could the error exempt?

Glpi.log
[Thu Jul 18 11:47:23 2024][info] running task Deploy
[Thu Jul 18 11:47:24 2024][debug] File part URL: You are not allowed to post links/glpi/plugins/glpiinventory/b/deploy/?action=getFilePart&file=/1/1a/1ac56ce7f015dad7d11312e88a4f1636335e31b6fefdcd61baf6b5b1a9d859d56d6b758d1ce5d69a13b6c1bab6d115d435be26fdd0ab887acd247427fbbb7178
[Thu Jul 18 11:47:26 2024][debug] reading 1ac56ce7f015dad7d11312e88a4f1636335e31b6fefdcd61baf6b5b1a9d859d56d6b758d1ce5d69a13b6c1bab6d115d435be26fdd0ab887acd247427fbbb7178
[Thu Jul 18 11:47:26 2024][debug] ================================
[Thu Jul 18 11:47:26 2024][debug] Started cmd: powershell -NonInteractive -ExecutionPolicy Unrestricted -File  KeyOs.ps1
[Thu Jul 18 11:47:26 2024][debug] ================================
[Thu Jul 18 11:47:26 2024][debug] --------------------------------
[Thu Jul 18 11:47:26 2024][debug] exit status: `'
[Thu Jul 18 11:47:26 2024][debug] ok, no check to evaluate.
[Thu Jul 18 11:47:26 2024][debug] final status: 1


C:\Program Files\GLPI-Agent\glpi-agent.bat -f --full --debug 2
C:\Program Files\GLPI-Agent\glpi-agent.bat : Use of uninitialized value $buf in concatenation (.) or string at C:/Program
Files/GLPI-Agent/perl/agent/GLPI/Agent/Task/Deploy/ActionProcessor/Action/Cmd.pm line 84.
    + CategoryInfo          : NotSpecified: (Use of uninitia...Cmd.pm line 84.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

Use of uninitialized value $exitcode in string eq at C:/Program
Files/GLPI-Agent/perl/agent/GLPI/Agent/Task/Deploy/ActionProcessor/Action/Cmd.pm line 87.
Use of uninitialized value $exitStatus in concatenation (.) or string at C:/Program
Files/GLPI-Agent/perl/agent/GLPI/Agent/Task/Deploy/ActionProcessor/Action/Cmd.pm line 140.


Glpi 10.0.16
Glpi Agent 1.10
Apache 2.4.29
PHP 8.2.4

Offline

Board footer

Powered by FluxBB