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.cpuCount | vm.guestFullName | vm.guestPrimaryIp | vm.hostname | vm.memory (MB) | vm.name | vm.powerstate | vm.provisionedSpace (B) | vm.totalStorageSizeUsed (B) | vm.cluster.name | vm.datacenter.name | vm.folder.name | vm.host.name |
---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | Microsoft Windows Server 2003 (32-bit) | 10.1.1.2 | temp-7e90774bee.home.net | 1024 | FILESRV01 | poweredOn | 94440740925 | 56736132096 | CL01 | DC01 | /Accounting/Project1 | CL01-VSP01 |
8 | Microsoft Windows Server 2008 R2 (64-bit) | 10.2.2.4 | temp-848446541.home.net | 4096 | WINS01 | poweredOn | 55785124604 | 23558190080 | CL01 | DC01 | /Accounting/Project2 | CL01-VSP02 |
using vcenter6. many thanks!