Versions Compared

Key

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

...

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

C:\PS>$process = Start-ExecutableFile JobSchedulerExecutableFile -Path 'c:/tmp/powershell/sample_script.cmd' -TargetName 'localhost'

...

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

C:\PS>$process = Start-ExecutableFile JobSchedulerExecutableFile -Path 'c:/tmp/powershell/sample_script.cmd' -TargetName 'localhost' -NoStandardOu
tput NoStandardOutput -NoStandardError

Runs the command script for the account that is specified with the credentials identified by the target name.

...