Disable-SCDWJob

Disable-SCDWJob

Disables a data warehouse job to prevent it from running.

Syntax

Parameter Set: Default
Disable-SCDWJob -JobName <String> [-ComputerName <String> ] [ <CommonParameters>]

Detailed Description

The Disable-SCDWJob cmdlet allows Data Warehouse administrators to disable jobs to prevent the jobs from running. This means that the jobs cannot be run according to their defined schedule and that they cannot be run manually. To re-enable the jobs, use the Enable-SCDWJob cmdlet.

Parameters

-ComputerName<String>

Specifies the name of the server on which the Data Warehouse management server is installed. The default value is "localhost".

Aliases

none

Required?

false

Position?

named

Default Value

.

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-JobName<String>

Specifies the Data Warehouse job to disable. The JobName parameter is a mandatory parameter.

Aliases

none

Required?

true

Position?

named

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.

  • None.

Examples

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

Description

-----------

This command disables the Extract_SM1 job.

C:\PS>Disable-SCDWJob -JobName Extract_SM1

Getting Started with Service Manager Cmdlets for Windows PowerShell

Enable-SCDWJob
Get-SCDWJob
Resume-SCDWJob
Start-SCDWJob
Suspend-SCDWJob