powershellscripts.com

Tutorials  PowerShell Cmdlet Help for New-VICredentialStoreItem



NAME
New-VICredentialStoreItem

SYNOPSIS
Creates a new entry in the credential store.

SYNTAX
New-VICredentialStoreItem [-Host] [-User] [[-Password] ] [[-File] ] [ eters>]


DESCRIPTION
Creates a new entry in the credential store. If there is an existing entry for the specified host and user, it is o
verwritten. 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\vicredentia
ls.xml. Credential store items for vCloud Director servers must contain user name and organization in the following
format: user_name:organization_name, where both names are lower-cased.


PARAMETERS
-Host
Specify the host for which you want to create the new credentials item.

Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false

-User
Specify a user name.

Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Password
Specify a password.

Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false

-File
Specify a file path where you want to store the new credentials.

Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
VICredentialStoreItem


NOTES




-------------- Example 1 --------------

C:\PS>New-VICredentialStoreItem -Host 192.168.1.10 -User Admin -Password pass


Adds a new item in the default credential store file.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/New-VICredentialStoreItem.html
Get-VICredentialStoreItem
Remove-VICredentialStoreItem