Get-OBJob

Gets a list of operations from a server as OBJob objects.

Syntax

Get-OBJob
   [[-Previous] <UInt32>]
   [[-Status] <CBJobStatusFilter>]

Description

The Get-OBJob cmdlet gets a list of operations from a server as OBJob[] objects.

ps_mob_user_group_remark

Examples

EXAMPLE 1

PS C:\> Get-OBJob -Previous 5 -Status "Successful"

This example returns a list of successful jobs out of the last five jobs performed.

Optional Parameters

-Previous

Specifies a previous number of backup or restore operations to query from the backup events.

Type:UInt32
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Status

Filters the jobs based on their status. The following three values are supported - "All", "Successful" and "Failed". If this parameter is not used no filtering is performed. The Previous parameter must be specified to use the Status parameter. The Status parameter is restricted to three string inputs.

Type:CBJobStatusFilter
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Internal.CloudBackup.Commands.OBJob[]