View previous topic :: View next topic |
Author |
Message |
BoschmanIT
Joined: 16 Jul 2021 Posts: 24
|
Posted: Tue May 21, 2024 6:55 am Post subject: Run powershell script from actions profile |
|
|
Hi community,
Does anyone know how to launch a powershell script from the actions profile? |
|
Back to top |
|
|
BoschmanIT
Joined: 16 Jul 2021 Posts: 24
|
Posted: Tue May 21, 2024 6:59 am Post subject: |
|
|
I found the External program option in the actions I just don't know how to call for powershell. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12811 Location: USA
|
Posted: Tue May 21, 2024 9:54 am Post subject: |
|
|
Described in Microsoft manuals
E.g.
powershell.exe scriptfilename
or
powershell.exe -File scriptfilename
or
powershell.exe -NonInteractive -File scriptfilename
or
powershell.exe -Command "script command"
or
C:\Windows\sysnative\WindowsPowerShell\v1.0\powershell.exe -File scriptfilename
(if you need x64 version of powershell)
Regards
Alex |
|
Back to top |
|
|
|