Export (0) Print
Expand All

Enable-SCDWJobSchedule

Updated: November 1, 2013

Applies To: System Center 2012 - Service Manager, System Center 2012 R2 Service Manager, System Center 2012 SP1 - Service Manager

Enable-SCDWJobSchedule

Enables a job schedule so that a job runs according to its specified schedule.

Syntax

Parameter Set: Default
Enable-SCDWJobSchedule [-JobName] <String> [-ComputerName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

The Enable-SCDWJobSchedule cmdlet enables a job schedule so that a job runs according to its specified schedule. If the job schedule was previously disabled, enabling the job schedule retains the job's schedule settings. To disable the job schedule, use the Disable-SCDWJobSchedule cmdlet; to modify the job's schedule, use the Set-SCDWJobSchedule cmdlet.

Parameters

-ComputerName<String>

Specifies the name of the computer on which the System Center Data Access service is running. You can omit this parameter only if the System Center Data Access Service is running on the same computer that has Service Manager installed.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-JobName<String>

Specifies the Data Warehouse job for which you want to enable the schedule.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

false

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.

    You cannot pipe input to this cmdlet.


Outputs

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

  • None.

    This cmdlet does not generate any output.


Examples

-------------------------- EXAMPLE 1 --------------------------

This command enables the job schedule for the Transform.Common job.


PS C:\> Enable-SCDWJobSchedule –ComputerName serverDW7 –JobName Transform.Common

-------------------------- EXAMPLE 2 --------------------------

The following command shows the all the jobs and whether their schedule is enabled or disabled.


PS C:\> Get-SCDWJobSchedule -ComputerName serverDW7 | Format-Table -Property Name, ScheduleEnabled
-AutoSize

Related topics

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