Hi community,
Does anyone know how to launch a powershell script from the actions profile?
Run powershell script from actions profile
-
- Posts: 24
- Joined: Fri Jul 16, 2021 4:08 am
-
- Posts: 24
- Joined: Fri Jul 16, 2021 4:08 am
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
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