Quantcast
Channel: Ocsinventory Q&A - Recent questions without answers
Viewing all articles
Browse latest Browse all 4605

how to send a status of script execution

$
0
0

Hi,

for a project i used OCS inventory:

for the moment i launch a batch script to update a configuration on a system with OCS, however i can't inform the Administrator if the script exit before, in all case the status of deployed are Success.

In my script i have a lot of mean to exit the script if they have an errore. In this case i would like inform OCS inventory that the script exit with error  and forced the status of the deployement to Success or ERR_ABORTED or other status .

Is it possible by command line in batch files.

Best Regard

Astroflo


Viewing all articles
Browse latest Browse all 4605

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>