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