Hi All
I have created a Powershell script that checks for Orphaned Files and Invalid Snapshot images.
The Orphaned Files part of the check is using Luk Dekens function for finding and removing phantom files available here.
The other part of the script checks for servers that are using snapshots that do not exist in snapshot manager or servers which have a Consolidated Helper snapshot.
We currently run this script daily and it sends us an email if it finds any problems.
Simply alter the variables in the top part of the script and it should be able to run in any environment that has PowerCLI installed.