Quantcast
Viewing all articles
Browse latest Browse all 168455

Re: Script to pull VM info

Hi,

You will find below different approaches. (List non-exhaustive)

 

Option 1:
Create three separate CSV files

One for all properties in a one to one relation

One for all disk properties

One for all network properties


Pro:

Easy to create a script

Report easy to read

Con:

3 Files

 

Option 2:
One XML file

 

Pro:
One file

Con:

Script more challenging to create
Report not easy to read

 

Option 3:
Everything in one CSV file with only three columns.

Example
VM / Property / Value

VM1 / Memory / 1024

VM1 / Network Card 1 Type / E1000
VM1 / Network Card 1 Network / VMPortGroup50

 

Pro:
One file

Still readable but not easy to compare values between VMs in one report
Con:
Script more challenging to create

 

Which report do you think is the most relevant for your needs?


Viewing all articles
Browse latest Browse all 168455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>