Quantcast
Channel: Symantec Connect - Endpoint Management - Discussions
Viewing all articles
Browse latest Browse all 2356

Running Powershell Scripts

$
0
0
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

Viewing all articles
Browse latest Browse all 2356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>