# Listing of folders & files in \Recovery
dir \recovery -force -recurse
# Get path of winre.wim
$FullName = (dir \recovery -force -recurse | where {$_.name -match "winre.wim"}).fullname
# Save the attributes of winre.wim
$svdAttributes = (dir $fullname -force).Attributes
# Clear the attributes of winre.wim
(dir $fullname -force).attributes = ""
# Get info about the windows image file
dism /get-imageinfo /imagefile:$fullname
# List the folders and files in WinRe.Wim
# write the list to the clipboard
dism /list-image /imagefile:$fullname /index:1 | clip
# restore the winre.wim attributes
(dir $fullname -force).attributes = $SvdAttributes