Link to home
Start Free TrialLog in
Avatar of Virene
Virene

asked on

RVTools for VMware Reports - Issue

Greetings,

I am using RVtools v3.8 and cannot get the command line to authenticate. My syntax is by the book:
RVTools.exe -u Administrator –p password –s vcentername -c ExportAll2csv -d c:\reports -f c:\filename
I get the following error: "Unhandled exception: Invalid URI: The hostname could not be parsed". After that the GUI login opens and I can enter the same credentials successfully and the script completes.

I have tried every permutation of the command line -  case sensitive, sequence, username type - Domain\user and UPN, a local VC account, 2 working domain accounts, and host by IP and FQDN.

I have also googled the hell out of this and apparently I am the first to experience this issue.

If anyone can shed some light on this, I would be most grateful. Thanks,
Rick
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

That command, also gives me the same error with 3.6.

have you tried 3.8.

but have you tried this

rvtools -u Administrator -p password -s <IP Address> -c ExportAll2csv -d c:\temp -f RVTools.csv

Open in new window


works for me
Avatar of Virene
Virene

ASKER

Hi Andrew - thanks for responding

Good to know that this is repeatable elsewhere. Yes, I am using version 3.8. It failed in 3.7, so I upgraded.

I have tried it by IP address using the syntax you wrote. I get a new msg: cannot complete login due to an incorrect user name or password. That same User/Pass is OK when entered in the GUI after clicking OK on the error message. I have tried this with 3 domain accounts and the Administrator@vsphere.local account with the same results. For all 3 accounts I have tried domain\user and UPN syntax.

I also have tried this from 3 different servers running the RVtools.

Confounding....
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Virene

ASKER

I got it going with this syntax: "rvtools -u vsphere.local\Administrator -p xxxxxxxxxx -s dc1man66.xxx.com -c ExportvTools2csv -d c:\temp -f RVTools2.csv"

Odd, because I know it supports AD domain logon accounts..... The passthroughAuth switch is still failing.

Well, at least it's working with the local vCenter account.
Avatar of Virene

ASKER

Thank you for your help, Andrew!
I seem to be having a similar issue with RVTools 3.8 using local credentials on my vCenter.  I am assuming that I should use the same credentials I use to log into from my vSphere Client?
@Corey Primeaux Please post a new question and myself or other experts, can assist.