Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Powershell Right to execute teledeploy package

Hello,

I try to use Package Builder with Powershell script method. When I see log on windows agent C:\ProgramData\OCS Inventory NG\Agent\Download.log, I have result indicate sucessfully deploy but not the case

PACKAGE => Executing command <powershell.exe -ExecutionPolicy ByPass -File psscript.ps1> for package <1713724828> on <Sunday, April 21, 2024 20:51:19>

PACKAGE => Package <1713724828> successfully executed. Command exit code is <0>. Package return code is <SUCCESS>

PACKAGE => No post execution command provided for package <1713724828>

When I force execute powershell script locally, it's works fine. I read this section and applied it but it's doesn't work https://wiki.ocsinventory-ng.org/09.Extras/Enable-Powershell-Support-on-Windows-Agent/

Could you help to me please ?

Thank you by advance for your help

Best Regards
in OCS Inventory NG agent for Windows by (120 points)
edited by

Please log in or register to answer this question.

 
Powered by Question2Answer
...