KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Run powershell script from actions profile

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
BoschmanIT



Joined: 16 Jul 2021
Posts: 24

PostPosted: Tue May 21, 2024 6:55 am    Post subject: Run powershell script from actions profile Reply with quote

Hi community,

Does anyone know how to launch a powershell script from the actions profile?
Back to top
View user's profile Send private message
BoschmanIT



Joined: 16 Jul 2021
Posts: 24

PostPosted: Tue May 21, 2024 6:59 am    Post subject: Reply with quote

I found the External program option in the actions I just don't know how to call for powershell.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12811
Location: USA

PostPosted: Tue May 21, 2024 9:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index