Update Secure Boot Certificate by using Intune Remediation – Take 2

I have had some time to test my scripts and method described in the old blog Update Secure Boot Certificate by using Intune RemediationAnd found a lot of small issues with my previous scripts....