< Back

Get-CsEntry

Mon Jan 13, 2020 6:42 am

NAME Get-CsEntry



SYNOPSIS

Get CredentialStore Entries





SYNTAX

Get-CsEntry [[-FilePath] <String>] [-Name <String[]>] [<CommonParameters>]





DESCRIPTION

The Get-CsEntry cmdlet gets objects that represent the CredentialStore entries for a file.





PARAMETERS

-FilePath <String>

Specifies the path to the CredentialStore file.



Required? false

Position? 1

Default value (Get-CsDefaultStore)

Accept pipeline input? false

Accept wildcard characters? false



-Name <String[]>

Specifies the CredentialStore entries names of entries to be retrieved. Wildcards are permitted. By default,

this cmdlet gets all of the entries in the CredentialStore file.



Required? false

Position? named

Default value *

Accept pipeline input? false

Accept wildcard characters? false



<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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-CsEntry -FilePath CredentialStore.json



This command gets all CredentialStore entries in the CredentialStore.json file.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-CsEntry -FilePath CredentialStore.json -Name "LocalServer"



This command retrieves CredentialStore entry with the name LocalServer.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-CsEntry -FilePath CredentialStore.json -Name "vmm*"



This command retrieves CredentialStore entries with names that begin with vmm.











RELATED LINKS

https://github.com/fodonnel/CredentialStore