Get-VEODUser

Short Description

Returns OneDrive users.

Applies to

Veeam Backup for Microsoft 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 CommonParameters section of Microsoft Docs.

Example

Getting OneDrive Organization User

This example shows how to get the userAlpha OneDrive user.

$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

Page updated 9/29/2023

Page content applies to build 12.1.1.56