Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[COLOR=#0000ff]/* create command */[/color]
powershell_call [COLOR=#804040][b]=[/b][/color] [COLOR=#ff00ff]'powershell -ExecutionPolicy RemoteSigned .\processes.ps1'[/color]
cmd [COLOR=#804040][b]=[/b][/color] powershell_call [COLOR=#ff00ff]'| rxqueue'[/color]
[COLOR=#0000ff]/* execute command */[/color]
cmd
[COLOR=#0000ff]/* pull the powershell script results from REXX queue */[/color]
k[COLOR=#804040][b]=[/b][/color]0
[COLOR=#804040][b]do [/b][/color][COLOR=#804040][b]while[/b][/color][COLOR=#804040][b] [/b][/color][COLOR=#008080]queued()[/color] [COLOR=#804040][b]>[/b][/color] 0
[COLOR=#804040][b]pull[/b][/color] line
k [COLOR=#804040][b]=[/b][/color] k [COLOR=#804040][b]+[/b][/color] 1
[COLOR=#804040][b]say[/b][/color] k[COLOR=#804040][b]||[/b][/color][COLOR=#ff00ff]'. powershell line:'[/color] line
[COLOR=#804040][b]end[/b][/color]
c:\Work>rexx rexx_ps.rex
1. powershell line: LOOK AT THE PROCESS 'PROC1' RUNNING ON SERVER 'SERVER1' ..
2. powershell line: LOOK AT THE PROCESS 'PROC2' RUNNING ON SERVER 'SERVER2' ..
3. powershell line: LOOK AT THE PROCESS 'PROC3' RUNNING ON SERVER 'SERVER3' ..