Install-LXCAStoredCredential

This cmdlet resolves stored credentials that are used to establish a secure connection to a managed device. Use this cmdlet when a stored credential becomes expired or inoperable on a device.

Note: You cannot pipe objects to this cmdlet.

Syntax

Install-LXCAStoredCredential [-Connection LXCAConnection] 
                              -Uuid  String 
                              -StoredCredentialId  String
                             [CommonParameter]

Parameters

-Connection LXCAConnection
Specifies the connection to the Lenovo XClarity Administrator server. If no connection is specified, the result from the last Connect-LXCA cmdlet is used.
-Uuid String
Specifies the UUID of the device for which stored credentials are to be resolved.
-StoredCredentialId String
Specifies the ID of the stored credential to be resolved.
CommonParameters
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.

Results

This cmdlet does not return object.

Examples

The following example The following example resolves stored credentials for a specific device.

$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred

Install-LXCAStoredCredential -Uuid $node -StoredCredentialId 1523

Disconnect-LXCA

Related links

Add-LXCAStoredCredential

Get-LXCAStoredCredential