Hi rootcause000,
You may give a try to the CIM. Run Get-CimInstance -ClassName Win32_ShadowCopy to get the shadow copies and see if you can remove them using Remove-CimInstance.
windows - Accessing Volume Shadow Copy (VSS) Snapshots from powershell - Stack Overflow
Best Regards,
Ian Xue