I am trying to repair a corrupted Windows installation which is on a separate local drive D: using DISM but I cannot find any information on how to run DISM to a repair a Windows installation which is on a separate drive.
How can I run the following command on drive D:
DISM /online /cleanup-image /restorehealth