Get-VBREPPermission
Short Description
Returns user access permissions for backup repositories for Veeam Agent operating in a standalone mode.
Syntax
Detailed Description
This cmdlet returns user access permissions for a backup repository that is used as a target by Veeam Agent operating in a standalone mode.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Repository | Specifies the backup repository. The cmdlet will return the permissions for these repositories. Accepts the backup repository object or string (repository name) type. | True | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This example shows how to get the repository permissions using a variable.
- Run Get-VBRBackupRepository to get the repository and save it to the '$repository' variable.
- Run Get-VBREPPermission with the '$repository' variable.
$repository = Get-VBRBackupRepository -Name "WinLocal" Get-VBREPPermission -Repository $repository RepositoryId : 88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec |
Example 2
This example shows how to get the repository permissions using a pipeline.
Run Get-VBRBackupRepository to get the repository and pipe it to Get-VBREPPermission.
Get-VBRBackupRepository -Name "WinLocal" | Get-VBREPPermission RepositoryId : 88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec |
Related Commands