I am trying to delete files on a computer with an alert action, because trying to delete Windows\Temp files when the disk space on a set of our machines gets over 90%
I sent an action to use a VB Script, however I am very confused where I should place the script so that orion can run on it
here is a screen shot of the action

and here is the script
Const DeleteReadOnly = TRUE
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Windows\Temp\*"), DeleteReadOnly
objFSO.DeleteFolder("C:\Windows\Temp\*"),DeleteReadOnly
I have tried to place the script on a network share as well and it does not appear to work.
Thanks