Here's a one-line to handle it:
find -name *.vmx | 's/ /\\ /g' |
xargs grep -i "display"
Output will show directory path, configuration filename, and inventory name for all VMs. If executed from /vmfs/volumes, it will span shared storage as well.
find -name *.vmx | 's/ /\\ /g' |
xargs grep -i "display"
No comments:
Post a Comment