Get-VEODOrganization

Short Description

Returns Microsoft OneDrive 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-VEODOrganization [-Session <VBOOneDriveItemRestoreSession>] [-Name <String[]>] [<CommonParameters>]

Detailed Description

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies an active Microsoft OneDrive restore session. This cmdlet will return organizations from the specified restore session.

Accepts the VBOOneDriveItemRestoreSession object. To get this object, run the Get-VEODRestoreSession cmdlet.

True

0

True (ByValue)

Name

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

String[]

False

1

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 VEODOrganization object that contains OneDrive organizations added to Veeam Backup for Microsoft 365.

Example

Getting Microsoft OneDrive Organizations

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

$session = Get-VEODRestoreSession

Get-VEODOrganization -Session $session -Name "ABC*"

Perform the following steps:

  1. Run the Get-VEODRestoreSession cmdlet. Save the result to the $session variable.
  2. Run the Get-VEODOrganization cmdlet. Set the $session as the Session parameter value. Specify the Name parameter value. Use the * wildcard character to substitute the timestamp.

Related Commands

Get-VEODRestoreSession

Page updated 6/21/2024

Page content applies to build 12.3.0.310