VMware Cloud Community
GregRoberts2011
Enthusiast
Enthusiast

Connect-CIServer - Qwirks

Initially when i did the Connect-CIServer i had a -Org "DevTest"

Later when i decided to change this in the reporting function per org i ran into trouble.

The line with the -SaveCredentials works without any popup.

However when i drop this and use the Connect-CIServer which is implicitly expecting to use the save credentials i get the popup ?

Exactly the same code worked fine before then the connection specified the Org

>> Does anyone know how i can resolve this ? (as i don't want to leave passwords in scripts)

vcloud_perm.png

Reply
0 Kudos
1 Reply
yonish
Contributor
Contributor

Hello,

Try to use anther user.

Chose a user before the cell was started or do a restart "/etc/init.d/vmware-vcd restart" and then try with same user.

There a similar problem while taking the cell to maintenance quiese and and etc.

connect-ciserver ip -user admin -password pass

and New-VICredentialStoreItem -Host ip -User "user" -Password "pass" -file e:\file.creds or New-VICredentialStoreItem -Host ip -User "user" -Password "pass"

Yoni Shperling

Reply
0 Kudos