Export (0) Print
Expand All

Disable-SCDWJobSchedule

Updated: November 1, 2013

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

Disable-SCDWJobSchedule

Disables a Data Warehouse job schedule, which causes the job schedule to stop initiating jobs.

Syntax

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




Detailed Description

The Disable-SCDWJobSchedule cmdlet disables a data warehouse job schedule, which causes the job schedule to stop initiating jobs. Disabling the job schedule retains the job schedule settings. To modify the job schedule settings, 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 the schedule will be disabled.


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 disables the job schedule for the Transform.Common job.


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

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

This 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