In my lab I have several types of storage for my guests, like 7K over SMB3, SSD over SMB3 or local storage. I thought it would be nice to see which storage my guests were on right there in the VMM console, so i created custom property and made myself a simple little powershell function to populate the property for all the VM’s. I could have made a script, but making functions in module files allows for easy re-/cross use of scripts.

I will not go into details on how to make a custom property right now, as there are plenty of articles on how to do this. I will instead concentrate on the powershell function. If you decide to “steal” it, please retain the Created by line/original author.

Here is what that looks like in the console after running the function.