MSEndpointMgr / ModernBIOSManagement

MIT License
45 stars 22 forks source link

Getting error code 1 when running Invoke-CMDownloadBIOSPackage.ps1 #16

Open RonDLS opened 2 years ago

RonDLS commented 2 years ago

We're getting exit code 1 when running the Invoke-CMDownloadBIOSPackage.ps1 with the parameters -BIOSUpdate -Endpoint "endpointname". Any suggestions or ideas?

jbudd0649 commented 1 year ago

Did you find a solution to your issue? I am getting the same error, but I am using -BareMetal and -Endpoint "endpointname" instead of -BIOSUpdate. I have looked through the SMSTSlog and the ApplyBIOSPackage log and don't see any other errors.

jbudd0649 commented 1 year ago

Did you find a solution to your issue? I am getting the same error, but I am using -BareMetal and -Endpoint "endpointname" instead of -BIOSUpdate. I have looked through the SMSTSlog and the ApplyBIOSPackage log and don't see any other errors.

I fixed my issue. My problem ended up being the Task Sequence Variables for the MDMUserName and MDMPassword. I had the variables in the same step as my Drivers, which was further down in the TS then my BIOS step. I moved the Variable up high in the TS above both the BIOS step and the Driver step and all is right in the world. Thanks