Hi @Jaganljpmail When you say - "Invoke shrink script works to delete the .vhdx but not the user directory"
Is this using the Invoke-FslShrinkDisk script?
If yes, the way to delete the directory would be to fork that project and adding a step to delete the directory for a deleted disk. It should be fairly straightforward but let me know if you need further help on this.
Thanks.