Problem:
PowerShell command to see open vhd file handles on file server.
Possible Resolution:
Open Powershell cmdlet as Administrator or Set Execution Policy and paste following command in PowerShell window.
You can run on fileserver or remotely.
Modify bolded item to what's appropriate for your scenario.
openfiles /Query /S fileservername /FO CSV /V | Out-String -stream | Select-String "VHD" | ConvertFrom-Csv | Out-GridView
If there are open vhd's the output should look similar to this screenshot:
Product: ProfileUnity
Product Version: Any