Hi all
I am getting to grips with powershell now but one thing i am struggling to do is create a script that will query CSV's volumes and show their SAN volume LUNs.
Have searched frantically and pieced together something, which uses two WMI queries to gather the information and then use the signature to match them up. However, some CSVs do not come back with a signature.
Now surely to match a CSV with the corresponding physical disk and thus its LUN should be easy. Looks like lots of people have tried to crack this with WMI queries and even using diskpart. But their has to be an easy way. We are running 2012 Hyper-v and 2012 R2 clusters. So a solution for either platform would be good.
Thanks