Forum Discussion
Deploy a powershell script as an win32 app
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.
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.
- RahamimLIron Contributor
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.