Remove-LXCAStoredCredential

This cmdlet deletes a stored credential from the Lenovo XClarity Administrator server.

Note: You cannot pipe objects to this cmdlet.

Syntax

Remove-LXCAStoredCredential [-Connection LXCAConnection] 
                             -Id 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.
-Id String
Specifies the ID of a specific stored credential to be deleted.
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 removes a stored credential from the XClarity Administrator server. No object is returned.

Examples

The following example deletes a stored credential.

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

Remove-LXCAStoredCredential -Id $id

Disconnect-LXCA

Related links