Nov 022018

New in latest Tiny PXE Server version : some files served over the built-in HTTP daemon such as files with extension PHP, VBS and PY can be dynamically processed on the server side and not simply sent back as text/html files.

This gives one the ability to implement a logic on the server side thru php, vbscript or python, including parameters in the URL.

Other engines could be added later on such as node.js, perl, …

Example of ipxe script file on the client side (more reading here).

chain http://${next-server}/boot.php?param1=value1&param2=value2

Example of a boot.php file server side.


The TinyPXE Server config.ini web section.

;php.exe file.php param1=value1
;cscript.exe file.vbs param1=value1 //nologo
;python.exe param1=value1


 Posted by at 15 h 40 min

  6 Responses to “Tiny PXE Server server side scripting”

  1. Hello, is there a way to secure the http server so that other people can not access it?

  2. atm, not in in TinyPxeServer.
    but you can always use windows firewall via netsh command to allow only specific ip’s?

    or you can use in the [web] section in the config.ini file

  3. Hi!

    first to say: Tiny PXE is excellent work!
    I have one wish: please enable Powershell as scripting engine in TinyPXE!

    • Actually, it is the same for a few weeks now 🙂
      Download latest version.
      I myself great fun with some pwoershell scripts to automate some tasks (like creating on the fly an iscsi target based on the requestor…).


      • I have seen your new config.ini although i had the latest version of executable (…23).
        But: How are the parameters passed to powershell? Are named parameters possible e.g. « -Username Test »

        I’m fiddeling around by building my querystring like …ps1?-Username%20Test and then i have to replace %20 by space in the powershell script, but that’s not like parameters are handled normally

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.