Skip to main content
SnapCenter 6.0 cmdlets

Remove-SmResourceCredentialName

Contributors

Unregister a registered SQL instance credential.

Syntax

Remove-SmResourceCredentialName [-ResourceName]  <String>

Detailed Description

Unregister a registered SQL instance credential based on the parameters provided.

Parameters

Name Description Required? Pipeline Input Default Value

ResourceName

true

true (ByPropertyName)

Examples

- Example 1: Removes a registered SQL instance credential by the SQL instance name. -

 Remove-SmResourceCredentialName -ResourceName R708202074BV1\SQL2019

This example syntax removes a registered SQL instance credential based on the SQL instance name provided.

Remove-SmResourceCredentialName
Are you sure you want to perform this action?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y

Example 2: Removes a registered SQL instance credential by the SQL instance name without a confirmation dialogue.

 Remove-SmResourceCredentialName -ResourceName R708202074BV1\SQL2019 -Confirm:$false

This example syntax removes a registered SQL instance credential based on the SQL instance name provided.