--- title: "Unpublish-VEORDatabase" description: "Unpublishes Oracle databases from the target server. Product: Veeam Backup & Replication Product Edition: Community, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet unpublishes Oracle databases from the target server." canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/unpublish-veordatabase.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Oracle > Unpublish-VEORDatabase" dateModified: "2026-08-20" --- # Unpublish-VEORDatabase ## Short Description Unpublishes Oracle databases from the target server. **Product**: Veeam Backup & Replication **Product Edition**: Community, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Unpublish-VEORDatabase [-Databases] [-Force] [] ``` ## Detailed Description This cmdlet unpublishes Oracle databases from the target server. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Databases

Specifies the Oracle databases that the cmdlet will unpublish from the target Oracle server.

Accepts the VEORPublishedDatabase[] object. To get this object, run the Get-VEORPublishedDatabase cmdlet.

VEORPublishedDatabase[]

True

0

True (ByValue)

Force

Defines that the cmdlet will show no prompt before executing the command.

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Examples ::: example ### Unpublishing Oracle Databases This example shows how to unpublish Oracle databases. ``` $session = Get-VEORRestoreSession $databases = Get-VEORPublishedDatabase -Session $session[0] Unpublish-VEORDatabase -Databases $databases ``` Perform the following steps: 1. Run the [`Get-VEORRestoreSession`](get-veorrestoresession.md) cmdlet. Save the result to the `$session` variable. The cmdlet will return an array of restore sessions. Note the ordinal number of the necessary restore session. In this example, it is the first restore session in the array. 2. Run the [`Get-VEORPublishedDatabase`](get-veorpublisheddatabase.md) cmdlet. Set the `$session` variable as the `Session` parameter value and select the necessary restore session. Save the result to the `$databases` variable. 3. Run the `Unpublish-VEORDatabase` cmdlet. Set the `$databases` variable as the `Databases` parameter value. ::: ## Related Commands - [`Get-VEORRestoreSession`](get-veorrestoresession.md) - [`Get-VEORPublishedDatabase`](get-veorpublisheddatabase.md)