I need a solution
I'm just wondering if anybody has best practices for running Powershell scripts as tasks or softwar deliveries. I'd like to send basic scripts to do things like removing directories that are no longer used or shortcuts with dead links. I've tried running it with just the script name as the command line, i.e., "script.ps1." I've also tried running it with <powershell.exe -windowstyle hidden "script.ps1"> as well as creating a batch file to write the same command, and running that instead. None of these work for me.
0