Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

Remove StoredCredential

Dave edited this page Apr 23, 2016 · 1 revision

Remove-StoredCredential

Synopsis

Deletes a credentials from the Windows Credential Store/Vault

Syntax

Remove-StoredCredential -Target <String> [-Type <Cred_Type>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]

Description

Deletes a credentials from the Windows Credential Store/Vault

Parameters

-Target <String>

specifies a target to identitfy the credential to be deleted

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Type <Cred_Type>

Specifies the type of credential to be deleted, possible values are [GENERIC, DOMAIN_PASSWORD, DOMAIN_CERTIFICATE, DOMAIN_VISIBLE_PASSWORD, GENERIC_CERTIFICATE, DOMAIN_EXTENDED, MAXIMUM, MAXIMUM_EX]

Required? False
Position? named
Default value GENERIC
Accept pipeline input? false
Accept wildcard characters? False

-InformationAction <ActionPreference>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-InformationVariable <String>

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 (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Example 1

PS C:\> Remove-StoredCredential -Target Server01 -Type GENERIC

Deletes a generic credential with the target Server01

Related links

Clone this wiki locally