powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-VICredentialStoreItem



NAME
Get-VICredentialStoreItem

SYNOPSIS
Retrieves the credential store items available on a vSphere server.

SYNTAX
Get-VICredentialStoreItem [[-Host] ] [[-User] ] [[-File] ] []


DESCRIPTION
Retrieves the credential store items that correspond to the filter criteria defined by the Host and User parameters
. Both the Host and User parameters support wildcards. If none of the Host and User parameters are specified, all a
vailable credential store items are returned. If he Host and User parameters are specified without using wildcards,
and no item is found, non-terminating errors are reported for the Host and User parameters. If no file is specifie
d, items are retrieved from the default credential store file %APPDATA%\VMware\credstore\vicredentials.xml.


PARAMETERS
-Host
Specify hosts for which you want to retrieve credential store items.

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

-User
Specify users for which you want to retrieve credential store items.

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

-File
Specify a path to a file where the credential store items that you want to retrieve are saved.

Required? false
Position? 4
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>Get-VICredentialStoreItem -User admin -Host 192.168.1.10 -File 'credentials.xml'


Retrieves the credentials for the 'admin' user on the specified host from a credential store file.






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