Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Install-JobSchedulerService -Start [-Cluster <String>] -Backup -Pause -PauseAfterFailure -UseCredentials <CommonParameters> [<
CommonParameters>]

DESCRIPTION

JobScheduler is commonly operated as a Windows service.
The cmdlet installs the service and optionally assigns an account to the service.

...

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?

Cluster

-Cluster <String>
Specifies that the JobScheduler instance is a cluster member.

  • An active cluster operates a number of instances for shared job execution
  • A passive cluster operates a single instance as a primary JobScheduler and any number of additional instances as
    backup JobSchedulers.

When using -Cluster "passive" then the -Backup parameter can be used to specify that the instance to be installed i
s a backup JobScheduler.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters?

Backup

-Backup <SwitchParameter>
Specifies that the JobScheduler instance is a backup instance in a passive cluster.

Backup instances use the same JobScheduler ID and database connection as the primary instance.

This parameter can only be used with -Cluster "passive".

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?

...

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

C:\PS>Install-Service JobSchedulerService -Start

Installs and starts the Windows service.

-------------------------- EXAMPLE 3 --------------------------

C:\PS>Install-Service JobSchedulerService -Start -Pause

Installs and starts the Windows service.
After starstart-up the Windows service is paused.

-------------------------- EXAMPLE 4 --------------------------

C:\PS>Install-Service JobSchedulerService -Backup

Installs the Windows service for a JobScheduler backup instance in a passive cluster.