Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Get-VBREPPermission

Short Description

Returns user access permissions for backup repositories for Endpoint jobs.

Syntax

Get-VBREPPermission -Repository <CBackupRepository>  [<CommonParameters>]

Detailed Description

This cmdlet returns user access permissions for a backup repository that is used as a target by Endpoint jobs.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Repository

Specifies the backup repository. The cmdlet will return the permissions for these repositories.

Accepts backup repository object or string (repository name) type.

True

Named

True (by Value
FromPipeline,
ValueFromPipeline
ByPropertyName)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBREPPermission

Example 1

This example shows how to get the repository permissions using a variable.

  1. Run Get-VBRBackupRepository to get the repository and save it to the '$repository' variable.
  2. Run Get-VBREPPermission with the '$repository' variable.

PS C:\PS> $repository = Get-VBRBackupRepository -Name "WinLocal"

PS C:\PS> Get-VBREPPermission -Repository $repository

RepositoryId        : 88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec
PermissionType      : Everyone
Users               : {}
IsEncryptionEnabled : False
EncryptionKey       :

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.

PS C:\PS> Get-VBRBackupRepository -Name "WinLocal" | Get-VBREPPermission

RepositoryId        : 88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec
PermissionType      : Everyone
Users               : {}
IsEncryptionEnabled : False
EncryptionKey       :

Related Commands

Get-VBRBackupRepository

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation