Remove-VBORbacRole
Short Description
Removes restore operator roles from Veeam Backup for Microsoft 365.
Syntax
|
Remove-VBORbacRole -Role <VBOOperatorRole> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes the specified restore operator role from Veeam Backup for Microsoft 365.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Role |
Specifies a restore operator role that you want to remove.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
Confirm |
Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. Default: True |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. Default: False |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Removing Restore Operator Role
This example shows how to remove the f3f29c99-20b4-4eaa-9615-3b4c9d913a69 restore operator role.
|
$role = Get-VBORbacRole -Id f3f29c99-20b4-4eaa-9615-3b4c9d913a69 Remove-VBORbacRole -Role $role -Confirm |
Perform the following steps:
- Run the
Get-VBORbacRoleReturns settings of restore operator roles. cmdlet. Specify theIdparameter value. Save the result to the$rolevariable. - Run the
Remove-VBORbacRolecmdlet. Specify the following settings:- Set the
$rolevariable as theRoleparameter value. - Provide the
Confirmparameter.
- Set the
Related Commands
Get-VBORbacRoleReturns settings of restore operator roles.