Disable-SCDWJobSchedule

Disables a Data Warehouse job schedule.

Syntax

Disable-SCDWJobSchedule
       [-JobName] <String>
       [-ComputerName <String>]
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

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.

Examples

Example 1: Disable a job schedule

PS C:\>Disable-SCDWJobSchedule â€"ComputerName "serverDW72" â€"JobName "Transform.Common"

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

Example 2: List enabled/disabled status of job schedules

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

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

Parameters

-ComputerName

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-JobName

Specifies the Data Warehouse job for which the schedule will be disabled.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None.

You cannot pipe input to this cmdlet.

Outputs

None.

This cmdlet does not generate any output.