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

Get-VEODUser

Short Description

Returns OneDrive users.

Applies to Veeam Backup for Microsoft Office 365

Product Edition: Community, Rental, Subscription

Syntax

Get-VEODUser [-Session] <VBOOneDriveItemRestoreSession> [[-Name] <string[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns OneDrive organization users.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies the OneDrive restore session. This cmdlet will return users from the specified restore session.

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

True

0

True (ByValue)

Name

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

String[]

False

1

False

<CommonParameters>

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

Examples

Getting OneDrive Organization Users

This example shows how to get the userAlpha OneDrive users.

$session = Get-VEODRestoreSession

Get-VEODUser -Session $session -Name "userAlpha"

Perform the following steps:

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

Related Commands

Get-VEODRestoreSession