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

Get-VEODUser

In this article

    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

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Session

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

    True

    0

    True (ByValue)

    False

    Name

    Specifies the name of the user. The cmdlet will return the user with this name.

    False

    1

    False

    True

    <CommonParameters>

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

    Example

    This example shows how to get the OneDrive user.

    1. Run the Get-VEODRestoreSession cmdlet to get an active restore session. Save the result to the $session variable.
    2. Run the Get-VEODUser cmdlet with the $session variable and the Name parameter to get the specific OneDrive user.

    $session = Get-VEODRestoreSession

    Get-VEODUser -Session $session -Name “userAlpha”

    Related Commands

    Get-VEODRestoreSession