SOLVED

Deploy a powershell script as an win32 app

Iron Contributor

Hi everyone,

Is there a way like SCCM to deploy a powershell script as a user application without a window pop up?

I tried with the switches and with a vb script that runs the powershell and it doesn't work. running "powershell -file -(any switch that could suppress the pop up)" runs the script but doesn't suppress the window pop up. And, with vbscript, the script doesn't run because my detection rule isn't finding things to detect a successful deployment.

Any help would be appreciated.

1 Reply
best response confirmed by RahamimL (Iron Contributor)
Solution

Found the answer myself:

Deploy the program with the command "powershell -file (script name)" make sure to set to run for users but deploy it computers. this will hide the window.

1 best response

Accepted Solutions
best response confirmed by RahamimL (Iron Contributor)
Solution

Found the answer myself:

Deploy the program with the command "powershell -file (script name)" make sure to set to run for users but deploy it computers. this will hide the window.

View solution in original post