VMware PowerCLI

The Best User Interface for your VMware Datacenter!

The credential store only works with the Connect-VIServer cmdlet. I would like it to work with the other Connect-* cmdlets as well.

This is very useful if you run scripts not only against vSphere but also for example against vCloud Director. Specialy when you run the script as a scheduled task. 

  • Robert van den Nieuwendijk
  • Aug 22 2017
  • Planned
  • Attach files
  • Robert van den Nieuwendijk commented
    23 Feb, 2018 12:38pm

    You can use the credential store with Connect-CIServer, if you specify the organization after the username separated by a colon, for example, to connect to the system organization, you can use the following command: New-VICredentialStoreItem -host ciserver -user user:system -Password password

  • Guest commented
    31 Aug, 2017 03:58pm

    vRops cmdlets would be another useful user of the vi credential store.