Boothole fix with PowerShell

I am trying to do these two steps as a BAT file but open to other ideas. The BootHole fix involves doing this.

First step is to run this, and it take a few seconds to execute:

SplitDbxContent.ps1 dbxupdate_x64.bin

Second step is to do this:

Set-SecureBootUefi -Name dbx -ContentFilePath .\content.bin -SignedFilePath .\signature.p7 -Time 2010-03-06T19:17:21Z -AppendWrite

I want to put it in PDQ deploy, so I can use a BAT file if I copy the files to target first. Or I can use Powershell directly, but that is not working.

Any help appreciated!

Here is what I have so far, but the script pops up the PS1 file instead of running it with parameter:

Powershell.exe -Command “& {Start-Process Powershell.exe -Verb RunAs}”
Set-ExecutionPolicy Bypass -scope Process -Force
Set-Location -Path c:\temp
.\SplitDbxContent.ps1 “c:\temp\dbxupdate_x64.bin”
Set-SecureBootUefi -Name dbx -ContentFilePath .\content.bin -SignedFilePath .\signature.p7 -Time 2010-03-06T19:17:21Z -AppendWrite


When the above is run, Windows pops up a dialog box instead of running the splitdbxcontent.ps1