That said I am glad you wrote about this solution, Aria.
An Inspiration for the PowerShell team.
Get-Hotfix should always sort output by date. It doesn't by today.
As the output can be worked with, we could select last entry of the specific update type to fetch the KB for the script above.
Or use wusa.
An even better FR, would be to provide a PowerShell commandlet to uninstall updates in the future, so we don't have to rely on Dism and wusa.
Many Dism commands already have sufficient PowerShell commandlets.
Some more
#On Windows 10 the /quiet no longer works. You may use:
$SearchUpdates = dism /online /get-packages | findstr "Package_for"
$updates = $SearchUpdates.replace("Package Identity : ", "") | findstr "KBXXXXXX"
#$updates
DISM.exe /Online /Remove-Package /PackageName:$updates /quiet /norestart
https://social.technet.microsoft.com/Forums/windows/en-US/f6594e00-2400-4276-85a1-fb06485b53e6/issues-with-wusaexe-and-windows-10-enterprise?forum=win10itprogeneral