Is there any programmatic way to force Windows to check for updates? I have installed an update using the Windows Update API but the following screen does not update.

The Windows Update API says that Reboot is required -
PS C:\Windows\system32> $rebootRequired = (New-Object -ComObject "Microsoft.Update.SystemInfo").RebootRequired
echo $rebootRequired
True
I have tried the following commands as administrator but none of them refreshed the screen -
wuauclt.exe /updatenow
wuauclt.exe /detectnow
Thanks!