Get-VBREPPermission
Short Description
Returns user access permissions for backup repositories used by Endpoint backup jobs.
Syntax
Related Commands
Return Type
Detailed Description
This cmdlet returns user access permissions for a backup repository that is used as a target by Endpoint backup jobs.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Repository | Specifies the repository for which you want to get permissions. Accepts the backup repository object or string type (repository name). You can assign multiple repositories to this object. | True | Named | True (by Value | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
This command looks for permissions set to a backup repository named 'WinLocal'. The repository is obtained with Get-VBRBackupRepository and assigned to the '$repository' variable beforehand.
PS C:\PS> $repository = Get-VBRBackupRepository -Name 'WinLocal' PS C:\PS> Get-VBREPPermission -Repository $repository RepositoryId : 88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec |
Example 2
This command looks for the 'WinLocal' repository permissions. The repository is obtained with Get-VBRBackupRepository and piped down.