Sample Exchange

 View Only

vCollect All VMs details with Hosts Info for All vCenter 

Jan 14, 2019 07:42 AM

 

Overview:

vCollect provides a PowerCLI scripts that produce infrastructure audit and reports of VMware SDDC (vSphere, NSX, vCloud DIrector, vRealize Automation) environments in CSV or Excel file format.

  1. GitHub Repository
  2. VMware Code Samples: 
    1. vmware-collect
    2. Change Path Policy ESXi RR
    3. vCollect Storage PATH per ESXi for each venter
    4. vCollect Storage By Partition for each vCenter
    5. vCollect Hardware Information By ESXi for each vCenter
    6. vCollect Products for each vCenter
    7. vCollect All VMs details with Hosts Info for All vCenter

Description:

This PowerShell script, vCollect-AllVMs-details-HostInfo-AllvCenter.ps1 will bring back all the VMs details in All vCenter with Host information, and return it in a nice list for you that includes:

  1. Data Center                   
  2. vCenter Server                
  3. vCluster                      
  4. VM                            
  5. VM CPU Count                  
  6. VM CPU Core Count             
  7. Power State                   
  8. Fault Tolerance State         
  9. Online Standby                
  10. Version                       
  11. Description                   
  12. Notes                         
  13. Memory MB                     
  14. Resource Pool                 
  15. Resource Pool ID              
  16. Persistent ID                 
  17. ID                            
  18. UID                           
  19. UUID                          
  20. IPs                           
  21. MACs                          
  22. Network Names                 
  23. OS                            
  24. FQDN                          
  25. Screen Dimensions             
  26. OS2                           
  27. FQDN2                         
  28. Guest Host name               
  29. Guest Id                      
  30. Guest Full Name               
  31. Guest IP                      
  32. Cluster                       
  33. Host Name1                    
  34. Host Name2                    
  35. Host Name3                    
  36. Host Domain Name              
  37. Host CPU Count                
  38. Host CPU Core Count           
  39. Hyperthreading Active         
  40. Host Manufacturer             
  41. Host ID                       
  42. Host UID                      
  43. Host Power State              
  44. Host Hyper Threading          
  45. Host vMotion Enabled          
  46. Host Vendor                   
  47. Host Model                    
  48. Host RAM                      
  49. Host CPU Model                
  50. Host Thread Count             
  51. Host CPU Speed                
  52. Host Vmresult Name            
  53. Host Vmresult Version         
  54. Host Vmresult Build           
  55. Host Vmresult OS              
  56. Host Vmresult License Key     
  57. Host Vmresult License Name    
  58. Host Vmresult License Version 
  59. Host vMotion IP Address       
  60. Host vMotion Subnet Mask       

Output:

The information is output as CSV file per server and XLXS/CSV file for all vCenter for documentation purposes or archiving.

Feedback:

I really like to hear what you have to say about this script:

  1. Was this script helpful for you or do you have any questions?
  2. Do you have additions, suggestions or any other ideas?

Just let me know by leaving a comment below.

Thank you for spending some time at my site and in my profile. I hope you come to visit again soon!


#ESXi
#vSphere
#Apache2.0
#vCloud
#powercli
#PowerShell
#vSpherePowerCLI
#NSX

Statistics
0 Favorited
0 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
ps1 file
vCollect-AllVMs-details-HostInfo-AllvCenter.ps1   17 KB   1 version
Uploaded - Apr 09, 2024

Tags and Keywords

Related Entries and Links

No Related Resource entered.