I have a couple of templates in scvmm that give me an error of
The library object (VHDNAME) cannot be removed because following objects are dependent on it:
Virtual Hard Disk deployment configuration
Using the articles found from a google search to remove these "Virtual Hard Disk deployment configurations"
These articles say to run get-virtualharddisk -name "name of your VM here". to retrieve the VHD ID
and them locate this ID in the SourceLocation Field of the dbo.tbl_WLC_VHDConfig table and remove every instance. When I try this my query returns nothing, I simply add "where SourceLocation = 'GUID'
I assume this is because i've got the wrong ID field from powershell. Can you help??
Is there a better way to be doing this?