@LUCD : I have small doubt in the below script.
How do we find the attributes supported to so & so commands,for exam. you have mentioned in the below exam.$esx.Config.StorageDevice.ScsiLun
How can we avail these pramateres like .config.storagedevice.etc..
If we keep pressing tab continiously, we would get parameters related to it, but if you can get a list of the all the avialble parameters listout in commands, will help us to filter it out..