Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using easyuefic.exe without index
#5
(05-18-2017, 01:46 AM)ClockWise Wrote: Hi,

just in case some one need that during the waiting time. I have made a powershell (version 5.0) for doing the job. (Sorry, i'm not a scripting expert, but it do the job)
Just change "LAN" for whatever you need as name. Take care of similar name, i'm not sure of the result (EX: LAN, LAN1, EtherLAN, ...)

###############PowerShell 5.0############
#Author ClockWise
#Date 17 may 2017
#Put the choosed name at the top list of the boot order. Need EasyUEFIC.exe installed at C:\Program Files\EasyUEFI\bin\

$entry_Name = 'LAN'
$input_path = New-TemporaryFile
& "C:\Program Files\EasyUEFI\bin\EasyUEFIC.exe" --list-efi >$input_path
$index_number=(Get-Content $input_path | Where-Object { $_.Contains($entry_Name) }).Substring(0,1)
& "C:\Program Files\EasyUEFI\bin\EasyUEFIC.exe" --top-efi --index $index_number
Remove-Item $input_path
####################################

EasyUEFI Version 3.0 has been released, now you can manipulate the UEFI boot entry with the name of the entry.
Reply


Messages In This Thread
Using easyuefic.exe without index - by ClockWise - 05-17-2017, 04:27 AM
RE: Using easyuefic.exe without index - by admin - 05-17-2017, 11:10 AM
RE: Using easyuefic.exe without index - by admin - 06-20-2017, 08:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)