Just what’s the exact difference between the following two similar command switches for DISM:?
…/cleanup-image /scanhealth and …cleanup-image /checkhealth? Both switches force DISM to check for corrupt items/components in the image (servicing stack as well??), and I would think that both will tell you if they find any, so what else is the difference?? Or is one switch a “newer” version of the older switch?
I’m basing the above statement on the built-in help that’s available via the /? switch for each level of the command. To get to the help for the switches for /cleanup-image switch, I typed (at an admin-level command prompt) “dism /online/ cleanup-image /?” and read the description for each subsequently available switch that follows the /cleanup-image switch.
I posted this question in the Windows 10 22H2 forum because that’s the version of Windows I’m currently running. HOWEVER, I believe that this question is pertinent to any version of Windows from Windows 7 through 11, as I’ve seen reference to dism in the Windows 7 Resource Kit that I still have.
Thanks in advance for any clarification anyone can give who’s had experience using dism.