Versions Compared

Key

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

...

Use-JobSchedulerMaster

SYNOPSIS

This cmdlet can has to be used to import settings from a local JobScheduler Master installation for Windows. The cmdlet is not related to the JobScheduler REST Web Serviceas the first operation with JobScheduler Master cmdlets and identifies the JobScheduler Master that should be used. Optionally applies settings from a JobScheduler Master location. A Master is identified by its JobScheduler ID and URL for which it is operated.

...

Use-JobSchedulerMaster [[-Url] <Uri>] [[-Id] <String>] [[-InstallPath] <String>] [[-BasePath] <String>] [[-EnvironmentVariablesScript] <String>] [[-Credentials] <PSCredential>] [[-ProxyUrl] <Uri>] [[-ProxyCredentials] <PSCredential>] [-NoCache] [<CommonParameters>]

DESCRIPTION

During installation of a JobScheduler Master a number of settings are specified.
Such settings are imported for use with subsequent cmdlets.

* For a local Master that is installed on the local Windows computer the cmdlet reads
settings from the installation path.
* For a remote Master operations for management of the
Windows service are not available.

...

-Id <String>
Specifies the ID of a JobScheduler Master.

The installation path is assumed from the -BasePath parameter and the JobScheduler ID,
therefore no -InstallPath parameter has to be specified.

Required?truefalse
Position?2
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

Required?false
Position?8
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

NoCache

-NoCache <SwitchParameter>
Specifies that the cache for JobScheduler objects is ignored.
This results in the fact that for each Get-JobScheduler* cmdlet execution the response is
retrieved directly from the JobScheduler Master and is not resolved from the cache.

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

...

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

PS > Use-JobSchedulerMaster http://somehost:4444

Allows to manage a JobScheduler Master that is operated on the same or on a remote host. This includes to manage Master instances that are running e.g. in a Linux box.

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

PS > Use-JobSchedulerMaster http://localhost:4444 scheduler110 Use-JobSchedulerMaster -Url http://localhost:40444 4444 -Id schedulerscheduler110

Specifies the URL for a local Master master and imports settings from the the JobScheduler Master with ID *schedulerscheduler110*. The installation path is determined from the default value of the -BasePath parameter. Cmdlets that require a local Master can be used, e.g. Install-JobSchedulerService, Remove-JobSchedulerService, Start-JobSchedulerMaster.

-------------------------- EXAMPLE 2 3 --------------------------

...

-------------------------- EXAMPLE 3 4 --------------------------

...