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
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
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.loca l 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....
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.loca
I also have tried this from 3 different servers running the RVtools.
Confounding....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I got it going with this syntax: "rvtools -u vsphere.local\Administrato r -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.
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.
very good
ASKER
Thank you for your help, Andrew!
no problems.
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.
have you tried 3.8.
but have you tried this
Open in new window
works for me