vSphere performance data - Part 1

There is lots of posts on retrieving performance data from your vSphere environment (I’ll probably use a lot of them in this series), but here’s my take on it. My ultimate goal is to build my own database of performance data and have a nice front-end presenting this. I also want to have an API that extracts data from the performance DB which I will use in our in-house portals and dashboards.

Orphaned files

A colleague asked if I had a script lying around that could investigate datastores and find orphaned files. Well, I didn’t. But instead of spending a lot of time creating one from scratch I went to our friend google and searched. There were lots of results, but I found one from Powershell guru LucD (lucd.info) and stopped searching. The script and instructions are found here: http://www.lucd.info/2016/09/13/orphaned-files-revisited/ Be aware that the script, or more precisely a VMware VIM method that the script uses, is relatively slow.