Export (0) Print
Expand All

Get-OBJob

Updated: April 4, 2013

Applies To: Windows Server 2012

Get-OBJob

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

Syntax

Parameter Set: PreviousJob
Get-OBJob [[-Previous] <UInt32> ] [[-Status] <CBJobStatusFilter> ] [ <CommonParameters>]




Detailed Description

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

To use Windows Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.

Parameters

-Previous<UInt32>

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


Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Status<CBJobStatusFilter>

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.


Aliases

none

Required?

false

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.Internal.CloudBackup.Commands.OBJob[]

Examples

EXAMPLE 1

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


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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft