Skip to main content
SnapCenter 4.9 cmdlets

Set-SmResourceCredentialName

Contributors

Set the credential for the SQL instance registered with the SnapCenter Server.

Syntax

Set-SmResourceCredentialName [-ResourceAuths]  <Hashtable[]>

Detailed Description

Set the credential for the SQL instance registered with the SnapCenter Server based on the credential information provided.

Parameters

Name Description Required? Pipeline Input Default Value

ResourceAuths

true

true (ByPropertyName)

Examples

- Example : Setting the credential for the SQL instance by RunAs ID. -

 Set-SmResourceCredentialName -ResourceAuths @{"CredentialId"="3";"Names"="R708202074BV1\SQL2019";}

This example syntax sets the credential for the SQL instance registered with the SnapCenter Server based on the RunAs ID provided.

AppObject Auth
--------- ----
SMCoreContracts.SmObject SMCoreContracts.SmAuth