Get-VBORepositoryUpgradeSession

In this article

    Short Description

    Returns sessions started to upgrade backup repositories.

    Syntax

    This cmdlet provides parameter sets that allow you to:

    • Get all sessions started to upgrade backup repositories.

    Get-VBORepositoryUpgradeSession  [<CommonParameters>]

    • Get a session started to upgrade a specific backup repository.

    Get-VBORepositoryUpgradeSession [-Repository <VBORepository>]  [<CommonParameters>]

    Detailed Description

    This cmdlet returns sessions that are started to upgrade backup repositories.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Accept Wildcard Characters

    Repository

    Specifies the backup repository. The cmdlet will get sessions that are started to upgrade specified repositories.

    Accepts the VBOAmazonS3CompatibleAccount object. To get this object, run the Get-VBORepository cmdlet.

    False

    Named

    False

     

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Output Object

    The cmdlet returns the VBORepositoryUpgradeSession object that contains details on sessions that are running to upgrade backup repositories.

    Examples

    Get-VBORepositoryUpgradeSessionExample 1. Getting Active Sessions Started to Upgrade Backup Repositories

    This command returns all active sessions that are started to upgrade backup repositories.

    Get-VBORepositorySynchronizeSession

    Get-VBORepositoryUpgradeSessionExample 2. Getting Active Session Started to Upgrade Specific Backup Repository

    This example shows how to get an active session started to upgrade the Repository 09 backup repository.

    $repository = Get-VBORepository -Name "Repository 09"

    Get-VBORepositorySynchronizeSession -Repository $repository

    Perform the following steps:

    1. Run the Get-VBORepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
    2. Run the Get-VBORepositorySynchronizeSession cmdlet. Set the $repository variable as the Repository parameter value.

    Related Commands

    Get-VBORepository