Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

assistance with daily reports dump?

$
0
0

hello!

 

wondering if anyone can help out with this. i'm trying to create a scheduled task that'll generate a daily report of all VMs in vcenter.

 

the info i'm looking to include is...

 

VM Name

CPU Count

Guest OS

Primary IP address

DNS hostname

VM Memory

Power State

Provisioned Size

Used Storage

Cluster Name

Data Center Name

VM Folder Path (ex. /Accounting/Project1)

Host Name

 

trying to get such a report ran daily and dumped into a folder with date as filename. i'm able to get this report below from solarwinds easily, but i'm having difficulty getting it out of powercli

 

vm.cpuCountvm.guestFullNamevm.guestPrimaryIpvm.hostnamevm.memory (MB)vm.namevm.powerstatevm.provisionedSpace (B)vm.totalStorageSizeUsed (B)vm.cluster.namevm.datacenter.namevm.folder.namevm.host.name
4Microsoft Windows Server 2003 (32-bit)10.1.1.2temp-7e90774bee.home.net1024FILESRV01poweredOn9444074092556736132096CL01DC01/Accounting/Project1CL01-VSP01
8Microsoft Windows Server 2008 R2 (64-bit)10.2.2.4temp-848446541.home.net4096WINS01poweredOn5578512460423558190080CL01DC01/Accounting/Project2CL01-VSP02

 

using vcenter6. many thanks!


Viewing all articles
Browse latest Browse all 9071


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