On pshell.info, I wrote an article about getting VMFS datastore information from VirtualCenter. The data is then handed over to PowerShell for further processing like free space calculations and so forth.

Check it out here.