VMware Cloud Community
KarthikeyanRam1
Contributor
Contributor
Jump to solution

RVTOOLS Automation

Hi All,

I need Powercli script to generate Rvtools report of multiple VCentre and automatically mail us as a single zip file. Please help me as we have 7 Vcentres and we are supporting multiple clients

Thanks a lot for you help in advance.

Thanks,

Karthikeyan Raman

1 Solution

Accepted Solutions
3 Replies
LucD
Leadership
Leadership
Jump to solution

Have a look at 1.  Re: Invoke multiple vcenters from rvtoolsbatch


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

KarthikeyanRam1
Contributor
Contributor
Jump to solution

Hi LucD,

I have mutiple VC with different username and password. The passthrough will not work. Please help me to work rvtools script across all the VCentre.

I want to use the accounts saved by New-VICredentialStoreItem -Host "vCenter1" -User "domain\useracnt" -Password "password"

Thanks,

Karthikeyan Raman

Reply
0 Kudos
KarthikeyanRam1
Contributor
Contributor
Jump to solution

Hi Lucd,

I've configured the script according to my need and it works awesome.

I've used rvtools password encryption feature in 3.9.5 to protect my password as well

As rvtools report generation takes time and before the completion of rvtools report generation the sendsmtp got executed

Hence i introduced start -sleep 500 before the smtp code

Thanks

Reply
0 Kudos