< Back

Remove-StoredCredential

Mon Jan 13, 2020 6:36 am

NAME Remove-StoredCredential



SYNOPSIS

Deletes a credentials from the Windows Credential Store/Vault





SYNTAX

Remove-StoredCredential -Target <string> [-Type <CredType>] [<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 <CredType>

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



<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

System.String

specifies a target to identitfy the credential to be deleted





OUTPUTS



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



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



Deletes a generic credential with the target Server01



RELATED LINKS

Online Version https://github.com/davotronic5000/Power ... Credential