I’m wondering, from an IT standpoint, what are the best practices to store scripts that are run regularly on an endpoint? Should they be stored locally, or should they be stored on a network location eg. a network share? Not sure how Intune and other RMMs work<\/p>\n
Advertisement
I have Action1 set up on all my endpoints. The current workflow looks like this: A powershell script gets pushed to the endpoint, this is what sets up the scheduled task. This first powershell script is stored inside Action1 —> The scheduled script runs a VBS wrapper → The VBS wrapper runs the 2nd powershell script that does what I need it to do. Both the VBS wrapper and the powershell script launched by it are stored in a network share accessible to all endpoints, read-only permissions.<\/p>\n
Advertisement
How dumb or suboptimal is this? How would this workflow look in a corporate environment managed by an RMM such as Intune or Action1 or ManageEngine?<\/p>","upvoteCount":7,"answerCount":17,"datePublished":"2025-07-31T13:50:11.174Z","author":{"@type":"Person","name":"PipeItToDevNull","url":"https://community.spiceworks.com/u/PipeItToDevNull"},"suggestedAnswer":[{"@type":"Answer","text":"
I’m wondering, from an IT standpoint, what are the best practices to store scripts that are run regularly on an endpoint? Should they be stored locally, or should they be stored on a network location eg. a network share? Not sure how Intune and other RMMs work<\/p>\n
I have Action1 set up on all my endpoints. The current workflow looks like this: A powershell script gets pushed to the endpoint, this is what sets up the scheduled task. This first powershell script is stored inside Action1 —> The scheduled script runs a VBS wrapper → The VBS wrapper runs the 2nd powershell script that does what I need it to do. Both the VBS wrapper and the powershell script launched by it are stored in a network share accessible to all endpoints, read-only permissions.<\/p>\n
How dumb or suboptimal is this? How would this workflow look in a corporate environment managed by an RMM such as Intune or Action1 or ManageEngine?<\/p>","upvoteCount":7,"datePublished":"2025-07-31T13:50:11.227Z","url":"https://community.spiceworks.com/t/storing-scripts-best-practices/1228793/1","author":{"@type":"Person","name":"PipeItToDevNull","url":"https://community.spiceworks.com/u/PipeItToDevNull"}},{"@type":"Answer","text":"