Skip to content

Instantly share code, notes, and snippets.

@AliYmn
Last active August 22, 2017 12:09
Show Gist options
  • Save AliYmn/45298b8d89a55e051403005126a6fc6d to your computer and use it in GitHub Desktop.
Save AliYmn/45298b8d89a55e051403005126a6fc6d to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import atexit
from pyVmomi import vim, vmodl
from pyVim.connect import SmartConnect, Disconnect
import humanize
MBFACTOR = float(1 << 20)
printVM = True
printDatastore = True
printHost = True
def printHostInformation(host):
try:
summary = host.summary
stats = summary.quickStats
hardware = host.hardware
cpuUsage = stats.overallCpuUsage
memoryCapacity = hardware.memorySize
memoryCapacityInMB = hardware.memorySize/MBFACTOR
memoryUsage = float(stats.overallMemoryUsage)
freeMemoryPercentage = 100 - ((float(memoryUsage) / float(memoryCapacityInMB)) * 100)
print "--------------------------------------------------"
print "Host name: ", host.name
print "Host CPU usage: ", cpuUsage
print "Host memory capacity: ", humanize.naturalsize(memoryCapacity,
binary=True)
print "Host memory usage: ",float( memoryUsage / 1024), "GiB"
print "Free memory percentage: " + str(freeMemoryPercentage) + "%"
print "--------------------------------------------------"
except Exception as error:
print "Unable to access information for host: ", host.name
print error
pass
def printComputeResourceInformation(computeResource):
try:
hostList = computeResource.host
print "##################################################"
print "Compute resource name: ", computeResource.name
print "##################################################"
for host in hostList:
printHostInformation(host)
except Exception as error:
print "Unable to access information for compute resource: "
print error
pass
def printDatastoreInformation(datastore):
try:
summary = datastore.summary
capacity = summary.capacity
freeSpace = summary.freeSpace
uncommittedSpace = summary.uncommitted
freeSpacePercentage = (float(freeSpace) / capacity) * 100
print "##################################################"
print "Datastore name: ", summary.name
print "Capacity: ", humanize.naturalsize(capacity, binary=True)
if uncommittedSpace is not None:
provisionedSpace = (capacity - freeSpace) + uncommittedSpace
print "Provisioned space: ", humanize.naturalsize(provisionedSpace,
binary=True)
print "Free space: ", humanize.naturalsize(freeSpace, binary=True)
print "Free space percentage: " + str(freeSpacePercentage) + "%"
print "##################################################"
except Exception as error:
print "Unable to access summary for datastore: ", datastore.name
print error
pass
def printVmInformation(virtual_machine, depth=1):
maxdepth = 10
if hasattr(virtual_machine, 'childEntity'):
if depth > maxdepth:
return
vmList = virtual_machine.childEntity
for c in vmList:
printVmInformation(c, depth + 1)
return
try:
summary = virtual_machine.summary
print "##################################################"
print "Name : ", summary.name
print "MoRef : ", summary.vm
print "State : ", summary.runtime.powerState
print "##################################################"
except Exception as error:
print "Unable to access summary for VM: ", virtual_machine.name
print error
pass
def print_vm_info(virtual_machine):
"""
Print information for a particular virtual machine or recurse into a
folder with depth protection
"""
summary = virtual_machine.summary
print("Name : ", summary.config.name)
print("Template : ", summary.config.template)
print("Path : ", summary.config.vmPathName)
print("Guest : ", summary.config.guestFullName)
print("Instance UUID : ", summary.config.instanceUuid)
print("Bios UUID : ", summary.config.uuid)
annotation = summary.config.annotation
if annotation:
print("Annotation : ", annotation)
print("State : ", summary.runtime.powerState)
if summary.guest is not None:
ip_address = summary.guest.ipAddress
tools_version = summary.guest.toolsStatus
if tools_version is not None:
print("VMware-tools: ", tools_version)
else:
print("Vmware-tools: None")
if ip_address:
print("IP : ", ip_address)
else:
print("IP : None")
if summary.runtime.question is not None:
print("Question : ", summary.runtime.question.text)
print("")
def main():
try:
import ssl
context = None
if hasattr(ssl, "_create_unverified_context"):
context = ssl._create_unverified_context()
si = SmartConnect(host='192.168.1.95',
user='[email protected]',
pwd='R2dxkf22!',
sslContext=context)
atexit.register(Disconnect, si)
content = si.RetrieveContent()
"""for datacenter in content.rootFolder.childEntity:
print "##################################################"
print "##################################################"
print "### datacenter : " + datacenter.name
print "##################################################"
if printVM:
if hasattr(datacenter.vmFolder, 'childEntity'):
vmFolder = datacenter.vmFolder
vmList = vmFolder.childEntity
for vm in vmList:
printVmInformation(vm)
if printDatastore:
datastores = datacenter.datastore
for ds in datastores:
printDatastoreInformation(ds)
if printHost:
if hasattr(datacenter.vmFolder, 'childEntity'):
hostFolder = datacenter.hostFolder
computeResourceList = hostFolder.childEntity
for computeResource in computeResourceList:
printComputeResourceInformation(computeResource)"""
container = content.rootFolder # starting point to look into
viewType = [vim.VirtualMachine] # object types to look for
recursive = True # whether we should look into it recursively
containerView = content.viewManager.CreateContainerView(
container, viewType, recursive)
children = containerView.view
for child in children:
print_vm_info (child)
except vmodl.MethodFault as error:
print "Caught vmodl fault : " + error.msg
return -1
return 0
if __name__ == "__main__":
main()
@AliYmn
Copy link
Author

AliYmn commented Aug 22, 2017

('Name : ', 'WindowsKlon1')
('Template : ', False)
('Path : ', '[datastore1 (1)] WindowsKlon1/WindowsKlon1.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039a93d-d0ae-41e8-99da-09ac8896a003')
('Bios UUID : ', '42395c56-9ab7-11b0-ccdb-8982b1f87ae8')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon8')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon8/WindowsKlon8.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50392849-a96f-eb6d-d7d7-339d1036b1a9')
('Bios UUID : ', '4239b24a-7188-24b7-8277-e9d37222af04')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon7')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon7/WindowsKlon7.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039c572-8897-5e36-8306-f678f3cf4ce6')
('Bios UUID : ', '4239c198-5bc7-d625-ca41-401775d92b44')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon6')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon6/WindowsKlon6.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '503964d7-0eba-c102-0ebd-c0be3c0bd6b1')
('Bios UUID : ', '42399a46-206d-1bb8-53fc-5be0e1d0d15e')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon3')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon3/WindowsKlon3.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50395c5e-621e-ca10-e3f5-2d1f6a8e9e4f')
('Bios UUID : ', '42399b6f-50ec-04a1-a1b1-0e3ebb1ce091')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon35')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon35/WindowsKlon35.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50399518-d44a-74c5-2232-1c8ed1f7832e')
('Bios UUID : ', '423914b6-7eac-814f-c886-ae550fe573d3')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon36')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon36/WindowsKlon36.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50392458-7289-89bb-b9a5-af9a2beb8442')
('Bios UUID : ', '42392fcd-3ae0-d5f1-6a7c-bd48b2cafdbb')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon5')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon5/WindowsKlon5.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039c789-7dfe-7a68-ab10-d10df8a2da0d')
('Bios UUID : ', '4239203c-240a-c81e-40c0-d86ba2edbfd0')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon39')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon39/WindowsKlon39.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039a5f3-9846-1154-db61-da8f00c3ae96')
('Bios UUID : ', '423945a8-d2c4-13ee-5b81-c055d27eba89')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon38')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon38/WindowsKlon38.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50397eb8-eecd-86d0-3b27-8c17aa39f1c9')
('Bios UUID : ', '42390772-1053-7491-037a-224ec98f8594')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon34')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon34/WindowsKlon34.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039cec7-f710-3d4c-5a5a-864bf90994a2')
('Bios UUID : ', '423987d1-af80-570c-f83e-7c073b0a934a')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon32')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon32/WindowsKlon32.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039d37b-6c1d-bc41-c99d-f72a297c7616')
('Bios UUID : ', '4239c715-7b21-94d3-b489-80d38508fa95')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon31')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon31/WindowsKlon31.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039931b-9397-1968-1c1d-a333cbff5235')
('Bios UUID : ', '423986f2-a51f-38cd-dd40-b7f0799effc6')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon30')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon30/WindowsKlon30.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50394005-dee7-88a0-3936-fafc0f37b3e5')
('Bios UUID : ', '42394f0f-bb20-dfc4-a16f-8838ced62ea1')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon28')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon28/WindowsKlon28.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '503992e7-f243-28fb-8b45-9611016f7295')
('Bios UUID : ', '42398885-2567-115a-85cb-7993e09e03a0')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon33')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon33/WindowsKlon33.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50391e36-ab0d-aa9f-256f-0078a6d9e0bf')
('Bios UUID : ', '4239869e-b23a-3612-7d6d-1042fe08a23a')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon22')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon22/WindowsKlon22.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '503942dc-e312-36d7-7c99-7cbce1367fce')
('Bios UUID : ', '42398b35-d240-5232-5b53-539bb04b08f1')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon20')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon20/WindowsKlon20.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039ceee-0be6-4153-dcc6-8e20b39c8b56')
('Bios UUID : ', '42399b0e-1f70-6768-cd62-879ed53fc7a2')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon27')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon27/WindowsKlon27.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50397c82-e4fe-3f5e-f6ec-0d4ad0cee57f')
('Bios UUID : ', '4239ef38-5733-2b72-5fea-d74b89bba19d')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon21')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon21/WindowsKlon21.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '503945f3-8270-7872-727c-512d3a68e104')
('Bios UUID : ', '4239329e-d7ea-b546-88ba-de3e2b50d907')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon19')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon19/WindowsKlon19.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039c009-ed70-0352-edc7-99372f8c725b')
('Bios UUID : ', '4239dae4-aa77-65d0-9cec-3c7ad837f0aa')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon29')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon29/WindowsKlon29.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50390082-f355-bb2b-b14f-37bc06fca834')
('Bios UUID : ', '42399323-fc71-bb08-8f98-a7e49d9fa170')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon40')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon40/WindowsKlon40.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039d780-2359-6d68-fb46-281ec97043fb')
('Bios UUID : ', '42392436-71d0-5263-4325-11f7e79e92fd')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon18')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon18/WindowsKlon18.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039f08d-1755-4d80-bdef-a6bc52f8599e')
('Bios UUID : ', '42394310-a9e2-30db-2e55-c14fbe2d3f60')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon17')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon17/WindowsKlon17.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039b18e-ea73-42d7-ca51-3f405a75a711')
('Bios UUID : ', '42395ab3-d3e9-0295-e608-f224bbd5a22f')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon15')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon15/WindowsKlon15.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039b058-e0d3-dbd3-5df1-e2bb35bb5d80')
('Bios UUID : ', '42396b05-af4d-2259-22aa-7c8060d5cf3f')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon14')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon14/WindowsKlon14.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039c719-3134-451a-0242-9ffcad11ea15')
('Bios UUID : ', '42392b8b-2e64-7ae0-ad5e-d415a3a2f532')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon2')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon2/WindowsKlon2.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039cc2e-d225-1941-0d3a-ef696b8d65a0')
('Bios UUID : ', '42391c2a-0305-e3ec-7791-34056e733cda')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon13')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon13/WindowsKlon13.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50395c97-e57d-9f10-f7b6-9d2bed5948ee')
('Bios UUID : ', '423945d8-1458-964f-f61f-1e8639bbe4ae')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon25')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon25/WindowsKlon25.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039f018-68dc-8328-f2bb-9df10db727c3')
('Bios UUID : ', '4239cf1e-9e68-919e-3b67-1de3024ec102')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon11')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon11/WindowsKlon11.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '503910d8-6dd6-20b7-48c1-ec537fc53a3d')
('Bios UUID : ', '42391f32-2469-77fc-52e8-5616e8a6b3d0')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon24')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon24/WindowsKlon24.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039c88c-844b-782c-bbe2-0cdefdab8e7c')
('Bios UUID : ', '42398018-2bf0-863e-8ed7-19a607d5d485')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon23')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon23/WindowsKlon23.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039a46e-7056-2ce9-37b3-36b1691aec92')
('Bios UUID : ', '42390440-af4e-01c4-3944-d0a9314837ba')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon16')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon16/WindowsKlon16.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039fb5d-72af-3451-c6e9-f606640791ec')
('Bios UUID : ', '42391138-6524-a8a0-1408-9e9139f513fc')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon10')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon10/WindowsKlon10.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039d257-dc5e-ac40-d3dc-7891f94346b9')
('Bios UUID : ', '4239b44a-0605-6c5b-1f15-852c28d64b51')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon37')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon37/WindowsKlon37.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039b8fc-2514-018b-56d8-cddd02c1bfa8')
('Bios UUID : ', '4239243b-25bf-4a98-a711-2f3e6d06ae1c')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon12')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon12/WindowsKlon12.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50394a40-7072-c52e-5011-b827d1af7869')
('Bios UUID : ', '4239406a-5a44-0223-1273-34d96fd5b66c')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon26')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon26/WindowsKlon26.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50394905-b68b-947e-b23c-1a9144630512')
('Bios UUID : ', '42391afb-3724-8aed-c8b5-c376380739fe')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon9')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon9/WindowsKlon9.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '50395433-b21f-6459-11f5-687a270f682e')
('Bios UUID : ', '42394f02-72f3-f2ec-5a78-1620c763fc3c')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'WindowsKlon4')
('Template : ', False)
('Path : ', '[datastore1 (3)] WindowsKlon4/WindowsKlon4.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '5039104b-407d-7c60-ebc2-240f8590c554')
('Bios UUID : ', '42398494-f25e-4c11-ffb8-d701f4959242')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'vcenter 6.0 192.168.1.95')
('Template : ', False)
('Path : ', '[datastore1 (2)] vcenter 6.0 192.168.1.95/vcenter 6.0 192.168.1.95.vmx')
('Guest : ', 'SUSE Linux Enterprise 11 (64-bit)')
('Instance UUID : ', '52c71c14-bf6d-d1ec-c42c-6d2d5e61f5e5')
('Bios UUID : ', '564dde0f-9754-20bb-584a-17f80812329b')
('Annotation : ', 'VMware vCenter Server Appliance')
('State : ', 'poweredOn')
('VMware-tools: ', 'toolsOk')
('IP : ', '192.168.1.95')

('Name : ', 'Windows vcenter')
('Template : ', False)
('Path : ', '[datastore1 (2)] saddfardfg/saddfardfg.vmx')
('Guest : ', 'Microsoft Windows Server 2008 R2 (64-bit)')
('Instance UUID : ', '52c1d206-3c3f-6506-04c1-de8a6d786eec')
('Bios UUID : ', '564d83b0-d141-80a2-db1f-c3aabe2109cb')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotInstalled')
IP : None

('Name : ', 'VMware vCenter Server Appliance 6.5')
('Template : ', False)
('Path : ', '[datastore1 (2)] VMware vCenter Server Appliance 6.5/VMware vCenter Server Appliance 6.5.vmx')
('Guest : ', 'Other 3.x Linux (64-bit)')
('Instance UUID : ', '52d7fd2b-ec3d-c53e-b89a-1508fac503f2')
('Bios UUID : ', '564da6cb-004a-1e1d-af7e-90a01f544aee')
('Annotation : ', 'VMware vCenter Server Appliance')
('State : ', 'poweredOff')
('VMware-tools: ', 'toolsNotRunning')
IP : None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment