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

Get-VESPOrganization

In this article

    Short Description

    Returns SharePoint organizations.

    Applies to

    Product Edition: Community, Standard, Enterprise, Enterprise Plus

    Syntax

    Get-VESPOrganization [-Session] <VBOSharePointRestoreSession> [[-Name] <string[]>]  [<CommonParameters>]

    Detailed Description

    This cmdlet returns SharePoint organizations added to Veeam Backup for Microsoft Office 365.

    You can get the list of all SharePoint organizations directly by name or session ID.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Session

    Specifies a SharePoint restore session. This cmdlet will return organizations from the specified restore session.

    Accepts the VBRSharePointRestoreSession object. To get this object, run the Get-VBRSharePointItemRestoreSession cmdlet.

    True

    0

    True (ByValue)

    False

    Name

    Specifies a name of a SharePoint organization. The cmdlet will return the organization with this name.

    True

    Named

    False

    True

    <CommonParameters>

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

    Example

    This example shows how to get the ABC SharePoint organization added to Veeam Backup for Microsoft Office 365.

    1. Run the Get-VBOSharePointItemRestoreSession cmdlet to get an active restore session. Save the result to the $session variable.
    2. Run the Get-VESPOrganization cmdlet with the $session variable and the Name parameter to get the ABC SharePoint organization.

    $session = Get-VBOSharePointItemRestoreSession

    Get-VESPOrganization -Session $session -Name "ABC"

    Related Commands

    Get-VBOSharePointItemRestoreSession