Stop-VEODRestoreSession

In this article

    Short Description

    Stops active restore sessions.

    Applies to

    Veeam Backup for Microsoft 365

    Product Edition: Community, Rental, Subscription

    Syntax

    Stop-VEODRestoreSession [-Session] <VBOOneDriveItemRestoreSession>  [<CommonParameters>]

    Detailed Description

    This cmdlet stops an active Veeam Explorer for Microsoft OneDrive for Business restore session.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Session

    Specifies a restore session you want to stop.

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

    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.

    Examples

    Example 1. Stopping Restore Session

    This example shows how to stop a restore session for Veeam Explorer for Microsoft OneDrive for Business.

    $session = Get-VEODRestoreSession

    Stop-VEODRestoreSession -Session $session

    Perform the following steps:

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

    Related Commands

    Get-VEODRestoreSession