Linux Hint published an UEFI shell scripting tutorial.
UEFI Shell Scripting Tutorial
UEFI (Unified EFI - Extensible Firmware Interface) is a software specification used to interface between the operating system and the firmware of your computer's hardware. UEFI has a built-in shell program called UEFI Shell or EFI Shell. You can use it to run EFI Shell commands and run your own EFI scripts. This article contains a UEFI Shell Scripting tutorial.