Versions Compared

Key

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

...

Optionally applies settings from a JobScheduler Master location. A Master is identified
by its JobScheduler ID and Url URL for which it is operated.

...

Use-JobSchedulerMaster [-Url <Uri>] [-Id <String>] [-InstallPath <String>] [-BasePath <String>] [[-EnvironmentV
ariablesScript] <String>] [-Credentials <PSCredential>] [-ProxyUrl <Uri>] [-ProxyCredentials <PSCredential>] [-No
Cache] <CommonParameters>

DESCRIPTION

...

Url

-Url <Uri>
Specifies the Url URL for which a JobScheduler Master is available.

The Url URL includes one of the protocols http HTTP or https HTTPS and optionally the port that JobScheduler listens to, e.g. http
://localhost:4444

...

For use with the JCLI you have to Jetty specify the URL for the XML Command Interface For use with https.
The cmdlet will convert the above JOC GUI path automatically to the XML Command Interface path.

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

...

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

Credentials

-Credentials <PSCredential>
Specifies a credentials object that is used for authentication with JobScheduler.

A credentials object can be created e.g. with:

$account = 'John'
$password = ( 'Doe' | ConvertTo-SecureString -AsPlainText -Force)
$credentials = New-Object -typename System.Management.Automation.PSCredential -Argumentlist $account, $password

An existing credentials object can be retrieved from the Windows Credential Manager e.g. with:

$systemCredentials = Get-JobSchedulerSystemCredentials -TargetName 'localhost'
$credentials = ( New-Object -typename System.Management.Automation.PSCredential -Argumentlist $systemCredential
s.UserName, $systemCredentials.Password )

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

ProxyUrl

-ProxyUrl <Uri>
Specifies the URL of a proxy that is used to access a JobScheduler Master.

The URL includes one of the protocols HTTP or HTTPS and optionally the port that proxy listens to, e.g. http://loca
lhost:3128

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

ProxyCredentials

-ProxyCredentials <PSCredential>
Specifies a credentials object that is used for authentication with a proxy. See parameter -Credentials how to crea
te a credentials object.

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

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 value
Accept pipeline input? false
Accept wildcard characters?

...