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
  • Scott Haas commented
    August 31, 2017 15:58

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

  • Robert van den Nieuwendijk commented
    23 Feb 12:38

    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