Table of ContentsLibraryView in Frames

Change-JobPriority

If a job is queued, Change-JobPriority enables you to move a SnapManager job to a different priority in the queue.

        Change-JobPriority-Server<Exchange_server_name>​-JobID<numeric_job_id>​-Priority<position_of_the_job>​-SourceBackupServer<name_of_server_that_creates_the_backup>

Description

Change-JobPriority enables you to move a job into a different priority in the queue. You can view the current queue with the Get-JobStatus command.

This command also supports the following common parameters:
  • -Debug (-db)
  • -ErrorAction (-ea)
  • -ErrorVariable (-ev)
  • -OutBuffer (-ob)
  • -OutVariable (-ov)
  • -Verbose (-vb)
  • -Confirm
To learn more about common parameters, see help about_ubiquitous_parameters.

Parameters

-Server <server_name>
Short name: svr
Specifies the target Exchange server name.
In a cluster configuration, you need to specify -Server explicitly in all of the cmdlets to perform all operations. If -Server is not specified explicitly in a stand-alone server, SnapManager uses the local machine as the default to run the following cmdlets: new-backup, verify-backup, restore-backup, get-backup, and delete-backup.
-JobID<numeric_job_id>
Short name: id
Used to identify a particular job that is being handled by the SnapManager server. -JobID is a required parameter if you do not specify -AllJobs.
-Priority<position_of_the_job>
Short name: p
Specifies the position to which you want to move it. It is a required parameter.
-SourceBackupServer<name_of_server_that_creates_the_backup>
Short name: bksvr
Specifies the name of the Exchange server that creates the backup. This is an optional parameter. If you do not specify this parameter, the name of the source backup server specified by the parameter -Server becomes the default name for the server.

Example: Changing job priority

This command changes the priority of the deferred integrity verification job that is queued in the remote verification server VerificationServer1 (with Job ID 123) to priority 1.

Change-JobPriority -Server VerificationServer1 -SourceBackupServer Exchange1 -JobID 123 Priority 1