< Back
Get-CsPassword
Post
NAME Get-CsPassword
SYNOPSIS
Get CredentialStore Entry Password
SYNTAX
Get-CsPassword [-Name] <String> [[-Raw]] [[-FilePath] <String>] [<CommonParameters>]
DESCRIPTION
The Get-CsPassword cmdlet gets the credential password 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
-Raw [<SwitchParameter>]
Return the Password as a standard unsecure string.
Required? false
Position? 2
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FilePath <String>
Specifies the path to the CredentialStore file.
Required? false
Position? 3
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-CsPassword -FilePath CredentialStore.json -Name LocalServer
This command gets the password of the CredentialStore entry named LocalServer in the CredentialStore.json file.
RELATED LINKS
https://github.com/fodonnel/CredentialStore
SYNOPSIS
Get CredentialStore Entry Password
SYNTAX
Get-CsPassword [-Name] <String> [[-Raw]] [[-FilePath] <String>] [<CommonParameters>]
DESCRIPTION
The Get-CsPassword cmdlet gets the credential password 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
-Raw [<SwitchParameter>]
Return the Password as a standard unsecure string.
Required? false
Position? 2
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-FilePath <String>
Specifies the path to the CredentialStore file.
Required? false
Position? 3
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-CsPassword -FilePath CredentialStore.json -Name LocalServer
This command gets the password of the CredentialStore entry named LocalServer in the CredentialStore.json file.
RELATED LINKS
https://github.com/fodonnel/CredentialStore