Hi Lucd & Team,
Today is my first day into PowerCLI. We have to create a build sheet for every VM creation individually. Currently we need to create this individual build sheet for around 600 VM’s, We have the list of VM names in the .txt or .csv file. which is running the guest OS windows server (2000, 2003, 2008 & 2008 R2). We have vSphere 4.0 & 5.0 virtual environment . So I need a powerCLI script which can support both the environment & gives the exact details as below in the same format (list view) for every VM which is in the .csv or .txt file as I mention earlier. The output should be in .xls file and We need a single .xls file for every individual servers. Please help me.
VM Host Name | TEST01VM |
Operating System with Edition | Windows 2008 R2 DC |
Thick/Thin Provisioning | Thick |
Network Adaptor Type | VMXNET3 |
Configured VLAN | 633 |
Configure IP | 192.48.20.65 |
Configured Gateway | 192.48.20.1 |
Subnet Mask | 255.255.255.0 |
Configure DNS Primary / Secondary | 192.48.20.20/192.48.20.21 |
Configure DNS Suffix | corp.local |
Vmware tools | Running Current Version |
Hardware version | 8 |
Hot CPU/Memory Option Enabled or Not | Enabled |
Thanks ,
Suresh