< Back

Get-CredentialStore

Sun Jan 19, 2020 6:35 pm

NAME Get-CredentialStore



SYNOPSIS

Reads the complete content of the credential store and returns it as a new object.





SYNTAX

Get-CredentialStore [<CommonParameters>]



Get-CredentialStore [-Path <String>] -Shared [<CommonParameters>]





DESCRIPTION

The content is in a raw format. It means there is no transformation to the different credential types.

You can not use the object properties to connect with remote host. Therefore please use

Get-CredentialStoreItem.





PARAMETERS

-Path <String>

Define a custom path to a shared CredentialStore.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Shared [<SwitchParameter>]

Switch to shared mode with this param. This enforces the command to work with a shared CredentialStore which

can be decrypted across systems.



Required? true

Position? named

Default value False

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

[None]





OUTPUTS

[PSObject] Returns the credential store content as PSObject.





NOTES





- File Name : Get-CredentialStore.ps1

- Author : Marco Blessing - marco.blessing@googlemail.com

- Requires :



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



PS C:\\>$CSContent = Get-CredentialStore -Path "C:\\TMP\\mystore.json"















RELATED LINKS

https://github.com/OCram85/PSCredentialStore