Are you intending on doing this regularly via automation? Or is this a once-off sort of thing? (You asked the question in the OnCommand Workflow Automation forum)
If it's a once off, you can use the "environment status" command to get the shelf serials, see "Product Serial Number", as well as the serials of the two modules in the shelf. You can also use "sysconfig -av" for a variety of serials within the controller itself.
I'm not sure what level of information you can get back from a V-series however.
If you have AutoSupport enabled, you can also use the AutoSupport visualizations to display shelf details (http://support.netapp.com/myautosupport/home.html). Find the system and select Virtualization on the left side. The default System View will show Shelf Serial numbers, and how everything's connected.
Hope that helps!
Could you help us a little more in understanding what part of your workflow uses the same and why?
UM doesn't collect this information IIRC, and As Mike said you will have to use environmental status cli or system information.
If your need is just reporting for assets then this is not the right forum.