--- title: "Get-VEMDBPublishJob" description: "Returns active publishing sessions for backed-up MongoDB instances. Product: Veeam Backup & Replication Product Edition: Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet returns information a" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/get-vemdbpublishjob.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for MongoDB > Get-VEMDBPublishJob" dateModified: "2026-08-18" --- # Get-VEMDBPublishJob ## Short Description Returns active publishing sessions for backed-up MongoDB instances. **Product**: Veeam Backup & Replication **Product Edition**: Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet returns information about the publishing process for backed-up MongoDB instances. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

JobId

Specifies the publishing job ID. The cmdlet returns publishing jobs with the specified ID.

Guid

False

Named

True (ByValue)

SourceInstance

Specifies names of source MongoDB instances, in the <server>:<port> format (for example, mongodb01:27017). The cmdlet will return publishing jobs performed for the specified instances.

This parameter accepts wildcard characters.

String[]

True

Named

False

TargetInstance

Specifies names of published MongoDB instances, in the <server>:<port> format (for example, mongodb01:27017). The cmdlet will return the publishing jobs performed for the specified instances.

This parameter accepts wildcard characters.

String[]

True

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 Docs. ## Output Object The cmdlet returns the [`VEMDBInstancePublish`](vemdbinstancepublish.md)`[]` array that contains information about the publishing process of MongoDB instances. ## Examples ::: example ### Example 1. Getting All Publish Jobs This command returns a list of all published MongoDB instances. Save the result to the `$publish` variable to be able to use it with other cmdlets. ``` $publish = Get-VEMDBPublishJob ``` ::: ::: example ### Example 2. Getting Publishing Jobs that Use Specific Source MongoDB Instance This command returns an array of MongoDB publishing jobs that use `mongodb01:27017` as a source instance. Save the result to the `$publish` variable to be able to use it with other cmdlets. ``` $publish = Get-VEMDBPublishJob -SourceInstance "mongodb01:27017" ``` ::: ::: example ### Example 3. Getting Publishing Jobs with Target MongoDB Instances that Begin with Certain String This command returns an array of MongoDB publishing jobs that have published instances whose names begin with "mongo". Save the result to the `$publish` variable to be able to use it with other cmdlets. ``` $publish = Get-VEMDBPublishJob -TargetInstance "mongo*" ``` :::