This cmdlet modifies properties for a specific stored credential.
Set-LXCAStoredCredential [-Connection LXCAConnection]
[-Description String]
-Id String
[-Password SecureString]
[-UserName String]
[CommonParameter]
This cmdlet returns a StoredCredentialData object.
The following example modifies the user name and password for a specific stored credential.
$Password = ConvertTo-SecureString "curpwd" -AsPlainText –Force
Connect-LXCA -Host 192.0.2.0 -Credential $cred
Set-LXCAStoredCredential -Id $id -Password $Password -UserName ADMIN
Disconnect-LXCA
The following example modifies the description for a specific stored credential.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
Set-LXCAStoredCredential -Id $id -Description $description
Disconnect-LXCA