Versions Compared

Key

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

...

Applies settings from a JobScheduler Master location. A Master is identified
by its JobScheduler ID , the host and port Url for which it is operated.

...

Use-JobSchedulerMaster [-IdUrl <String>] [-HostnameId <String>] [-Port <String>] -Remote [-InstallPath <String>] [
-BasePath <String>] [[
-EnvironmentVariablesScript] <String>] <CommonParameters>

...

  • For a local Master that is installed on the local computer the cmdlet reads
    settings from the installation path.
  • For a remote Master the parameter -Remote has to be used with the -Id , -Hostname and -PortUrl
    parameters to specify the instance.

PARAMETERS

...

Url

-Id Url <String>
Specifies the ID of Url for which a JobScheduler Master is available.

The installation path is determined from the -BasePath parameter and the JobScheduler ID,
therefore no -InstallPath parameter has to be specified.Url includes one of the protocols http or https and optionally the port that JobScheduler listens to, e.g. http
://gollum.sos:4110

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters?

...

Id

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

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

Port

-Port <String>
Specifies the port of a JobScheduler Master The installation path is determined from the -BasePath parameter and the JobScheduler ID,
therefore no -InstallPath parameter has to be specified.

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

...

Use this switch in addition to the parameters -Id , -Hostname and -Port Url to use a remote Master.

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

...

-InstallPath <String>
Specifies the installation path of a JobScheduler Master.
The installation path is expected to be accessible from the host on which the JobScheduler cmdlets are executed.

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

...

Default Value: C:\Program Files\sos-berlin.com\jobscheduler

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

...

Default Value: jobscheduler_environment_variables.cmd

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

...

C:\PS>Use-Master -Remote -Id scheduler110 -Hostname Url http://gollum.sos -Port :4454

Uses the specified JobScheduler Master as the base for cmdlets of this module.
Cmdlets that require a local Master cannot be used, e.g. Install-Service, Remove-Service, Start-Master.