SyntaxNew-VICredentialStoreItem [-Host] <String> [-User] <String> [[-Password] <String>] [[-File] <String>] [<CommonParameters>]
Related CommandsOnline version
Detailed DescriptionCreates a new entry in the credential store. If there is an existing entry for the specified host and user, it is overwritten. If the credential store file does not exist, it is created (along with its directory if needed). If no file is specified, the item is created in the default credential store file %APPDATA%\VMware\credstore\vicredentials.xml. The credential store is not designed to be a secure password repository. Although the passwords added to the credential store are obfuscated, they can be recovered by anyone who can access the credential store file. By default, only the user who has created the credential store file has rights to read it.
|Name||Type||Description||Required?||Pipeline Input||Default Value|
|Host||String||Specify the host for which you want to create the new credentials item.||true||false|
|User||String||Specify a user name.||true||false|
|Password||String||Specify a password.||false||false|
|File||String||Specify a file path where you want to store the new credentials.||false||false|
-------------- Example 1 --------------
New-VICredentialStoreItem -Host 192.168.1.10 -User Admin -Password pass
Adds a new item in the default credential store file.