Configuration driven Active Directory management.
Resets cached credentials for contacting domains.
Reset-DMDomainCredential -Credential <PSCredential> [<CommonParameters>]
Reset-DMDomainCredential -Domain <String> [<CommonParameters>]
Reset-DMDomainCredential -UserName <String> [<CommonParameters>]
Reset-DMDomainCredential [-All] [<CommonParameters>]
Resets cached credentials for contacting domains. Use this command when invalidating credentials you used. For example in ADMF the credential provider: If you create one that uses a temporary account, then delete it when done, you need to reset the cache when connecting with your default credentials.
Reset-DMDomainCredential -All
Clear all cached credentials
Clear all cache entries using this credential object.
Type: PSCredential
Parameter Sets: Credential
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Clear the cached credentials for the target domain.
Type: String
Parameter Sets: Domain
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Clear all cached credentials using this username.
Type: String
Parameter Sets: Name
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Clear ALL cached credentials
Type: SwitchParameter
Parameter Sets: All
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.