Versions Compared

Key

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

...

  • Line 1 imports the JobScheduler PowerShell Module
  • Line 2 reads an existing system credentials object that has been stored with the target name login_as_ap.
  • Line 3 copies the user account and password of the system credentials object to the PowerShell credentials object.
  • Line 4 forwards the PowerShell credentials object to the JobScheduler CLI for authentification with the JobScheduler Master.

...

Using the PowerShell profile to apply credentials

Credentials can be added to the JobScheduler CLI by a PowerShell profile. A number of locations are available for profiles. Check the value of the $Profile built-in variable for the currently active profile.

...