UEFI

DISM

Revert Pending Actions

DISM /Image:C: /Scartch-Dir:C: /Cleanup-Image /RevertPendingActions

Remove an update from the windows 10 recovery pe environment

DISM /Image:C: /Get-Packages
DISM /Image:C: /Remove-Package /PackageName:Package_for_KB######

List of images in WIM file

DISM /Get-WimInfo /WimFile:X:\sources\install.wim

Export 1 WIM from multi-WIM

DISM /Export-Image /SourceImageFile:X:\sources\install.wim /SourceIndex:IndexNumber /DestinationImageFile:C:\install.wim /Compress:max /CheckIntegrity