@echo off mkdir "c:\program files\FusionInventory-Agent\Certs" echo Creation répertoire=%errorlevel% copy makeitsimple-ca.crt "c:\program files\FusionInventory-Agent\Certs\" echo Copie du répertoire=%errorlevel% fusioninventory-agent_windows-x64_2.5.1.exe /acceptlicense /ca-cert-file="C:\Program Files\FusionInventory-Agent\Certs\makeitsimple-ca.crt" /execmode=Service /S /debug=0 /installtasks=Full /server="https://serverx.makeitsimple.lan/plugins/fusioninventory/" /runnow /no-start-menu /httpd-trust="10.10.10.0/24" /add-firewall-exception echo Installation=%errorlevel% netsh advfirewall firewall delete rule "FusionInventory" echo Nettoyage regle firewall=%errorlevel% netsh advfirewall firewall add rule name="FusionInventory" dir=in action=allow protocol=TCP localport=62354 echo Configuration firewall=%errorlevel%