@echo off
c:\ocsinst\ocsagent.exe /S /NOSPLASH /NO_SYSTRAY  /SERVER=https://inventering.defendo.se/ocsinventory /SSL=0 
net stop "OCS Inventory Service"
copy c:\ocsinst\cacert.pem "C:\Programdata\OCS Inventory NG\Agent\"
copy c:\ocsinst\ocsinventory.ini "C:\Programdata\OCS Inventory NG\Agent\"
net start "OCS Inventory Service"
exit

