This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VBREPPermission

In this article

    Short Description

    Returns user access permissions for backup repositories used by Endpoint backup jobs.

    Syntax

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

    Related Commands

    Get-VBRBackupRepository

    Return Type

    VBREPPermission

    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
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    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
    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.

    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
    PermissionType      : Everyone
    Users               : {}
    IsEncryptionEnabled : False
    EncryptionKey       :

    Example 2

    This command looks for the 'WinLocal' repository permissions. The repository is obtained with Get-VBRBackupRepository and piped down.

    Get-VBRBackupRepository -Name 'WinLocal' | Get-VBREPPermission

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