So, heres another scripting format to get use to...
I would like to do what I have been doing in the form of perl from the console from a VM offloading the processing from the host.
What I am doing presently is recursivly reading through /vmfs/volumes/.. to find each vmx file and verifying that all pointers to the vmdk's etc are all readable.
The reason I have to do this is I had someone re-present a LUN to another VM as a raw device and the device got formatted as ntfs whihmade the ESX host unable to manage the volume.
I would have never known about this if it wasnt that one of the systems was rebooted. the power init forced esx to reread from the lun which it couldnt do. The other systems that were also on the volume but not rebooted were fine and would remain so until the systems were rebooted, power cycled, etc..
So, now I have been told by management that I need to monitor this.
Does anyone have a starting point for me using powershell. I have used perl for the longest time and quite good at vbs.. but powershell is all new...
Thanks in advance!
Bill