--- title: "Stop-VBRSession" description: "Stops tape jobs sessions. Platform: VMware, Hyper-V Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet stops running tape jobs sessions." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/stop-vbrsession.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Jobs > Sessions > Stop-VBRSession" dateModified: "2026-08-19" --- # Stop-VBRSession ## Short Description Stops tape jobs sessions. **Platform**: VMware, Hyper-V **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Stop-VBRSession -Session [-Wait] [] ``` ## Detailed Description This cmdlet stops running tape jobs sessions. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies a running tape job session. The cmdlet will stop this session.

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

VBRSession

True

Named

True (ByPropertyName, ByValue)

Wait

Defines that the command waits for the process to complete before accepting more input.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Stopping Session for Tape Job This example shows how to stop the session for the specified tape job. ``` $job = Get-VBRTapeJob -Name "Backup Copy Job" $session = Get-VBRSession -Job $job Stop-VBRSession -Session $session ``` Perform the following steps: 1. Run the [`Get-VBRTapeJob`](get-vbrtapejob.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$job` variable. 2. Run the [`Get-VBRSession`](get-vbrsession.md) cmdlet. Set the `$job` variable as the `Job` parameter value. Save the result to the `$session` variable. 3. Run the `Stop-VBRSession` cmdlet. Set the `$session` variable as the `Session` parameter value. ::: ## Related Commands - [`Get-VBRJob`](get-vbrjob.md) - [`Get-VBRSession`](get-vbrsession.md)