Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

Login xml file for multiple vcenter - VICredentialStoreItem

$
0
0

Hello, I have a script to run every day (powershell) and it connecting with three different vcenter,
I need to create login credential file,

 

Should I create separate login files? Is possible to create a unique file with same credential for all of them? (3 different IP)

 

Add-PSSnapin vmware.VimAutomation.core
New-VICredentialStoreItem –Host 10.0.0.10 –User EU\gemela –Password ######## –File C:\Users\gemela\my.xml
$logincred = Get-VICredentialStoreItem -Host 10.0.0.10 -File C:\Users\gemela\my.xml

 

 

Thanks


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>