# script.nsh
echo -off
if exist SAA.smc then
   mv SAA.smc SAA.efi
endif
if not exist "SAA.efi" then
    echo "SAA.efi not found. Please move this script to the SAA directory"
    exit /b
endif

echo "Activating Redfish Host Interface..."
SAA.efi -c RawCommand --raw "30 B5 01 01" > NUL

if exist SAA.efi then
   mv SAA.efi SAA.smc
endif
