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

Get-VESPOrganization

Short Description

Returns SharePoint organizations added to Veeam Backup for Microsoft 365.

Applies to

Veeam Backup for Microsoft 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

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

Detailed Description

This cmdlet returns SharePoint organizations added to Veeam Backup for Microsoft 365. You can get the list of all SharePoint organizations directly by name or session ID.

Parameters

Parameter

Description

Type

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 VBOSharePointRestoreSession object. To get this object, run the Get-VBOSharePointItemRestoreSession cmdlet.

True

0

True (ByValue)

False

Name

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

String[]

False

1

False

True

<CommonParameters>

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

Output Object

The cmdlet returns the VESPOrganization object that contains SharePoint organizations added to Veeam Backup for Microsoft 365.

Examples

Example 1. Getting SharePoint Organizations

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

$session = Get-VBOSharePointItemRestoreSession

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

Perform the following steps:

  1. Run the Get-VBOSharePointItemRestoreSession cmdlet. Save the result to the $session variable.
  2. Run the Get-VESPOrganization cmdlet. Set the $session as the Session parameter value. Specify the Name parameter value.

Related Commands

Get-VBOSharePointItemRestoreSession