I would like to execute automatically one Powershell script in Agents throught http://localhost/ocsreports/.
I am not sure if I am doing well. This is what I do:
- Access to http://localhost/ocsreports/
- Deployment > Build
- Select Windows OS > Scripts > Powershell script.
- Fill name and description and enter de script.
- Click on Validate.
After clicking, I don't receive any successfully message. I don't receive error message neither, so I assume that the package is correctly created.
However, I go to Deployment>Activate, and the package is not listed in "Available Packages".
If I navigate to the computer (in which I want to execute the script) and go to Deployment > Add Packages, I select the "Sue the advanced options of teledeploy" to YES. But the package is not displayed neither.
However, If I navigate to /var/lib/ocsinventory-reports/download the script is successfully created.
What I am doing wrong?
This is my server Information:
PHP Version : 7.3.33
Web Server : Apache/2.4.37 (Rocky Linux) mod_perl/2.0.12 Perl/v5.26.3
Database Server : MariaDB Server version 10.3.39-MariaDB
Version OCSReports: 2.12.3
Thanks in advance