< Back
Get-VICredentialStoreItem
Post
NAME Get-VICredentialStoreItem
SYNOPSIS
This cmdlet retrieves the credential store items available on a vCenter Server system.
SYNTAX
Get-VICredentialStoreItem [[-Host] <String>] [[-User] <String>] [[-File] <String>] [<CommonParameters>]
DESCRIPTION
This cmdlet 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 available credential store items are returned. If the 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 specified, items are retrieved from the default credential store file
%APPDATA%\\VMware\\credstore\\vicredentials.xml.
PARAMETERS
-File <String>
Specifies a path to a file where the credential store items that you want to retrieve are saved.
Required? false
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Host <String>
Specifies hosts for which you want to retrieve credential store items.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-User <String>
Specifies users for which you want to retrieve credential store items.
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more VICredentialStoreItem objects
NOTES
This cmdlet is not supported on the Core edition of PowerShell.
-------------------------- Example 1 --------------------------
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: https://code.vmware.com/doc/preview?id= ... eItem.html
New-VICredentialStoreItem
Remove-VICredentialStoreItem
SYNOPSIS
This cmdlet retrieves the credential store items available on a vCenter Server system.
SYNTAX
Get-VICredentialStoreItem [[-Host] <String>] [[-User] <String>] [[-File] <String>] [<CommonParameters>]
DESCRIPTION
This cmdlet 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 available credential store items are returned. If the 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 specified, items are retrieved from the default credential store file
%APPDATA%\\VMware\\credstore\\vicredentials.xml.
PARAMETERS
-File <String>
Specifies a path to a file where the credential store items that you want to retrieve are saved.
Required? false
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Host <String>
Specifies hosts for which you want to retrieve credential store items.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-User <String>
Specifies users for which you want to retrieve credential store items.
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more VICredentialStoreItem objects
NOTES
This cmdlet is not supported on the Core edition of PowerShell.
-------------------------- Example 1 --------------------------
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: https://code.vmware.com/doc/preview?id= ... eItem.html
New-VICredentialStoreItem
Remove-VICredentialStoreItem