Starting Situation

  • The network configuration for the JobScheduler Master does not allow direct access to the host and port that JobScheduler Master would listen to.
  • A proxy server is used to access the JobScheduler Master. The proxy server might require authentication.

Use Cases

Using a Proxy server

A proxy server can be specified with the Connect-JobScheduler cmdlet like this:

Connect-JobScheduler http://somehost:4446 -ProxyUrl http://proxyhost:3128

Explanations

  • The -ProxyUrl parameter specifies the host and port that the proxy server is operated for.

Using a Proxy server with default credentials

A proxy server can be specified with the Connect-JobScheduler cmdlet to use the default credentials of the current user like this:

Connect-JobScheduler http://somehost:4446 -ProxyUrl http://proxyhost:3128 -ProxyUseDefaultCredentials

Explanations

  • The default credentials of the currently logged in Windows user are forwarded to the proxy server should authentication be required.
  • This might not work for all sort of proxy products or for proxy servers operated on non-Windows platforms.

Using a Proxy server with explicit credentials

A proxy server can be specified with the Connect-JobScheduler cmdlet to use explicit credentials like this:

Connect-JobScheduler http://somehost:4446 -ProxyUrl http://proxyhost:3128 -ProxyCredentials $credentials

Explanations

  • A credentials object is forwarded to the proxy server should authentication be required.
  • See Use Cases - Credentials Management for information how to manage credentials objects.

Specifying explicit credentials for a Proxy server

Explicit credentials for a proxy server can be specified with the Set-JobSchedulerCredentials cmdlet like this:

Set-JobSchedulerCredentials -ProxyCredentials $credentials

Explanations

  • A credentials object is forwarded to the proxy server should authentication be required.
  • This operation can be carried out at any time and is valid starting from the next request that is sent to the JobScheduler Master.
  • See Use Cases - Credentials Management for information how to manage credentials objects.

Specifying credentials on-the-fly for a Proxy server

Explicit credentials for a proxy server can be specified on-the-fly with the Set-JobSchedulerCredentials cmdlet like this:

Set-JobSchedulerCredentials -ProxyAskForCredentials

Explanations

  • The cmdlet will prompt for input of the user account and password that are used for authentication with a proxy server.
  • See Use Cases - Credentials Management for information how to manage credentials objects.


  • No labels