Remove-VBRCredentials
Short Description
Removes credentials records from Veeam Backup & Replication.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRCredentials -Credential <CCredentials> [<CommonParameters>] |
Detailed Description
This cmdlet permanently removes the selected credentials record from the Veeam Backup & Replication database.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Credential | Specifies credentials you want to remove. | Accepts the CCredentials object. To get this object, run the Get-VBRCredentials cmdlet. | True | Named | True (ByValue, |
WhatIf | Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Removing Credentials Record Using User Name [Using Variable]
This example shows how to remove the credentials record with the Administrator user name.
Perform the following steps:
|
Example 2. Removing Credentials Record Using User Name [Using Pipeline]
This example shows how to remove the credentials record with the Administrator user name.
Perform the following steps:
|
Example 3. Removing Specific Credentials Record
This example shows how to remove the specific credentials record.
Perform the following steps:
The Get-VBRCredentials cmdlet will return an array of credential records. Mind the ordinal number of the necessary credential record (in our example, it is the second credential record in the array).
|
Related Commands