< Back
Get-CsCredential
Post
NAME Get-CsCredential
SYNOPSIS
Get a CredentialStore Entry Credential
SYNTAX
Get-CsCredential [-Name] <String> [[-FilePath] <String>] [<CommonParameters>]
DESCRIPTION
The Get-CsCredential cmdlet gets the credential for a CredentialStore entry by name.
PARAMETERS
-Name <String>
Specifies the CredentialStore entry name of of the be retrieved. Wildcards are not permitted.
This cmdlet throws an error if no entry with that name exists.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FilePath <String>
Specifies the path to the CredentialStore file.
Required? false
Position? 2
Default value (Get-CsDefaultStore)
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-CsCredential -FilePath CredentialStore.json -Name LocalServer
This command gets the credential of the CredentialStore entry named LocalServer in the CredentialStore.json file.
RELATED LINKS
https://github.com/fodonnel/CredentialStore
SYNOPSIS
Get a CredentialStore Entry Credential
SYNTAX
Get-CsCredential [-Name] <String> [[-FilePath] <String>] [<CommonParameters>]
DESCRIPTION
The Get-CsCredential cmdlet gets the credential for a CredentialStore entry by name.
PARAMETERS
-Name <String>
Specifies the CredentialStore entry name of of the be retrieved. Wildcards are not permitted.
This cmdlet throws an error if no entry with that name exists.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-FilePath <String>
Specifies the path to the CredentialStore file.
Required? false
Position? 2
Default value (Get-CsDefaultStore)
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-CsCredential -FilePath CredentialStore.json -Name LocalServer
This command gets the credential of the CredentialStore entry named LocalServer in the CredentialStore.json file.
RELATED LINKS
https://github.com/fodonnel/CredentialStore