PowerShell One-liner to Extract a Windows 10 Upgrade Error Code

Short post - here's a PowerShell one-liner that will extract the upgrade code from the setupact.log generated by a Windows 10 upgrade. It includes both the result code and the extend code. You could include this in an in-place upgrade task sequence with ConfigMgr to stamp the code to the registry, or WMI, or create … Continue reading PowerShell One-liner to Extract a Windows 10 Upgrade Error Code