Created
March 2, 2022 23:52
-
-
Save jsturtevant/93c11fa23ad22e09c816cb603ba84542 to your computer and use it in GitHub Desktop.
hcs file system corruption finder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem –Path "C:\ProgramData\root\io.containerd.snapshotter.v1.windows\snapshots\" -Recurse | ForEach-Object { fsutil.exe hardlink list $_.FullName; if (-not($?)){ echo $_.FullName > failures.log } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment