/Cleanup-Image /RevertPendingActions WARNING! This operation will revert pending actions from previous servicing operations. ...

/Cleanup-Image /RevertPendingActions

  WARNING! This operation will revert pending actions from previous servicing
  operations. It should be used for recovery operations only. This command
  is not supported against an online image.

    Example:
      DISM.exe /Image:C:\test\offline /Cleanup-Image /RevertPendingActions