Good day, I will leave this little but wonderful trick here in my blog.
Whenever you experience the following message while applying patches in SharePoint by running the following command:
PSConfig.exe -cmd upgrade -inplace b2b -force -cmd applicationcontent -install -cmd installfeatures
And then error happens telling you:
The applicationcontent command is invalid or a failure has been ncountered. The server farm will not work with missing installs. Add “-cmd installcheck -noinstallcheck” to the command-line to ignore this warning.
Please make sure to run the following PowerShell command on each server in the farm, before running the PSConfig command again:
Get-SPProduct -local
This way your farm will be truly aware of the patches are pending to apply