Get-VBREPPermission

In this article

    Short Description

    Returns user access permissions for backup repositories for Veeam Agent operating in a standalone mode.

    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 Veeam Agent operating in a standalone mode.

    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 the backup repository object or string (repository name) type.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    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.

    $repository = Get-VBRBackupRepository -Name "WinLocal"

    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.

    Get-VBRBackupRepository -Name "WinLocal" | Get-VBREPPermission

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

    Related Commands

    Get-VBRBackupRepository

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.