--- title: "Get-VEODUser" description: "Returns OneDrive users. Product: Veeam Backup for Microsoft 365 Product Edition: Community, Rental License, Subscription License This cmdlet returns OneDrive organization users." canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/get-veoduser.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft OneDrive > Get-VEODUser" dateModified: "2026-08-18" --- # Get-VEODUser ## Short Description Returns OneDrive users. **Product**: Veeam Backup for Microsoft 365 **Product Edition**: Community, Rental License, Subscription License ## Syntax ``` Get-VEODUser [-Session] [[-Name] ] [[-Organization] ] [] ``` ## Detailed Description This cmdlet returns OneDrive organization users. ## 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-VEODOrganization 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-VEODRestoreSession cmdlet.

VBOOneDriveItemRestoreSession

True

0

True (ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Docs. ## Output Object The cmdlet returns the [`VBOOneDriveUser`](vboonedriveuser.md)`[]` array that contains OneDrive users. ## Examples ::: example ### 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-VEODRestoreSession`](get-veodrestoresession.md) cmdlet. Save the result to the `$session` variable. 2. Run the [`Get-VEODOrganization`](get-veodorganization.md) 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. ::: ## Related Commands - [`Get-VEODRestoreSession`](get-veodrestoresession.md) - [`Get-VEODOrganization`](get-veodorganization.md)