...
Code Block |
---|
C:\Program Files (x86)\scheduler>echo SCHEDULER_DATA = C:/Program Files (x86)/scheduler SCHEDULER_DATA = C:/Program Files (x86)/scheduler C:\Program Files (x86)\scheduler>echo SCHEDULER_PARAM_SCRIPT_FILENAME = C:/Program Files (x86)/scheduler\config\live\PowerShell\Powershell-Hallo.ps1 SCHEDULER_PARAM_SCRIPT_FILENAME = C:/Program Files (x86)/scheduler\config\live\PowerShell\Powershell-Hallo.ps1 C:\Program Files (x86)\scheduler>powershell get-ExecutionPolicy SCHEDULER-918 state=release RemoteSigned C:\Program Files (x86)\scheduler>powershell -noprofile \ -file "C:/Program Files (x86)/scheduler\config\live\PowerShell\Powershell-Hallo.ps1" \ "C:/Program Files (x86)/scheduler\config\live\PowerShell\Powershell-Hallo.ps1" Hello, PowerShell ... Num Args: 1 Arg: C:/Program Files (x86)/scheduler\config\live\PowerShell\Powershell-Hallo.ps1 Environment-var Scheduler-Data is : C:/Program Files (x86)/scheduler Operating system is : Windows_NT C:\Program Files (x86)\scheduler>exit 0 |
related downloads:
see also:
- Setting the executionPolicy to execute .ps1-scripts
- How to get the Exit code of a powershell script
- How to pass variable-values from JS to a powershell script
- A generic PowerShell Job
...