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
    February 23, 2018 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

  • Guest commented
    August 31, 2017 15:58

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