< Back
Remove-VaultCredential
Post
NAME Remove-VaultCredential
SYNOPSIS
Remove the given credential in the PasswordVault for a given resource.
SYNTAX
Remove-VaultCredential [-Resource] <String> [-Credential] <PSCredential> [<CommonParameters>]
Remove-VaultCredential [-Resource] <String> [-User] <String> [<CommonParameters>]
Remove-VaultCredential [-VaultCredential] <PasswordCredential> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Resource <String>
The resource to remove from the PasswordVault
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
The user stored in Credential connected to the resource
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-User <String>
The user connected to the resource
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-VaultCredential <PasswordCredential>
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
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:\\>Remove-Credential -Resource https://msdn.microsoft.com -User CONTOSO\\john.doe
Description
-----------
Removes the credentials for the user john.doe on domain CONTOSO for the resource https://msdn.microsoft.com
RELATED LINKS
SYNOPSIS
Remove the given credential in the PasswordVault for a given resource.
SYNTAX
Remove-VaultCredential [-Resource] <String> [-Credential] <PSCredential> [<CommonParameters>]
Remove-VaultCredential [-Resource] <String> [-User] <String> [<CommonParameters>]
Remove-VaultCredential [-VaultCredential] <PasswordCredential> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Resource <String>
The resource to remove from the PasswordVault
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Credential <PSCredential>
The user stored in Credential connected to the resource
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-User <String>
The user connected to the resource
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-VaultCredential <PasswordCredential>
Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
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:\\>Remove-Credential -Resource https://msdn.microsoft.com -User CONTOSO\\john.doe
Description
-----------
Removes the credentials for the user john.doe on domain CONTOSO for the resource https://msdn.microsoft.com
RELATED LINKS