Get-VEODUser

Short Description

Returns OneDrive users.

Product: Veeam Backup for Microsoft 365

Product Edition: Community, Rental License, Subscription License

Syntax

Get-VEODUser [-Session] <VBOOneDriveItemRestoreSession> [[-Name] <String[]>]

[[-Organization] <VBOOneDriveOrganization[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns OneDrive organization users.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies an array of user names. The cmdlet will return users with these names.

This parameter accepts wildcard characters.

String[]

False

1

False

Organization

Specifies an array of Microsoft OneDrive organizations. The cmdlet will return OneDrive users from these organizations.

Accepts the VBOOneDriveOrganization[] object. To get this object, run the Get-VEODOrganizationReturns Microsoft OneDrive organizations added to Veeam Backup for Microsoft 365. cmdlet.

VBOOneDriveOrganization[]

False

2

True (ByValue)

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-VEODRestoreSessionReturns active restore sessions started to perform operations with backed-up OneDrive items. cmdlet.

VBOOneDriveItemRestoreSession

True

0

True (ByValue)

<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 VBOOneDriveUser[] array that contains OneDrive users.

Examples

Getting OneDrive Organization User

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

$session = Get-VEODRestoreSession

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

Get-VEODUser -Organization $org -Name "userAlpha"

Perform the following steps:

  1. Run the Get-VEODRestoreSessionReturns active restore sessions started to perform operations with backed-up OneDrive items. cmdlet. Save the result to the $session variable.
  2. Run the Get-VEODOrganizationReturns Microsoft OneDrive organizations added to Veeam Backup for Microsoft 365. cmdlet. Set the $session variable as the Session parameter value. Specify the Name parameter value. Use the * wildcard character to substitute the timestamp. Save the result to the $org variable.
  3. Run the Get-VEODUser cmdlet. Set the $org variable as the Organization parameter value. Specify the Name parameter value.
  • Get-VEODRestoreSessionReturns active restore sessions started to perform operations with backed-up OneDrive items.
  • Get-VEODOrganizationReturns Microsoft OneDrive organizations added to Veeam Backup for Microsoft 365.

Page updated 2026-08-18

Page content applies to build 13.1.1.18