Jump to content











Photo

Run Tiny PXE Server from command line with auto online option

tiny pxe server

Best Answer erwan.l , 06 February 2018 - 04:41 PM

And there is also a (probably) non documented /start command line option which is there since (about) day 1 actually :)

 

Thus, because I never really worked on it I would rather trust the config.ini to handle this.

 

By popular demand, I can add some switches on the command line although parsing a command line is not my favorite hobby...

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 kukucz

kukucz
  • Members
  • 2 posts

Posted 06 February 2018 - 04:04 PM

Hi.

Is any possibility to run Tiny PXE Server from CMD/PowerShell script so that it starts working according to the configuration from the config.ini file without having to press the Online button?

 

I can always prepare some AutoIt script but maybe this option is embedded but I missed it?

 

To close application from script I can always use taskkill or Stop-Process.



#2 misty

misty

    Silver Member

  • Developer
  • 914 posts
  •  
    United Kingdom

Posted 06 February 2018 - 04:15 PM

I haven't played around with Tiny PXE Server for a while, but doesn't the start option in config.in work (see here)
:cheers:

Misty

P.s. I don't think I've ever started Tiny PXE Server from CMD and definitely never from a powershell script, so honestly don't know if it will work. Give it a try and feedback.

P.p.s. You can alternatively try running Tiny PXE as a service if that suits your setup (see here

#3 erwan.l

erwan.l

    Gold Member

  • Developer
  • 2342 posts
  • Location:Nantes - France
  •  
    France

Posted 06 February 2018 - 04:41 PM   Best Answer

And there is also a (probably) non documented /start command line option which is there since (about) day 1 actually :)

 

Thus, because I never really worked on it I would rather trust the config.ini to handle this.

 

By popular demand, I can add some switches on the command line although parsing a command line is not my favorite hobby...



#4 kukucz

kukucz
  • Members
  • 2 posts

Posted 07 February 2018 - 09:27 AM

Hi.
I don't know how I missed start=1 option in config.ini manual ;)
I checked pxesrv.exe /start and it works as I need too.

So @misty, @erwan.l thank you for your help.

Tiny PXE Server project is great job.

Edited by kukucz, 07 February 2018 - 10:19 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users