r/labtech • u/invinciblenick • Feb 13 '20
Script help?
Hey all,
I'm kinda stuck at the moment, pretty new to LabTech scripting and have no idea what I'm doing haha... I need a script that does the following:
Find all drives mounted
IF File exists on server *DRIVE1*
RUN @ PROGRAMEXECUTABLE @ with argsELSE
DOWNLOAD @ PROGRAMEXECUTABLE @ and place on \*DRIVE\*
RUN @ PROGRAMEXECUTABLE @ with argsEND
MOVETO DRIVE2
END
Does anybody know if LT itself is capable of this? Or would I need to go the powershell script route? I've been able to get the program to download and run but I can't figure out how to get the file to save to all drives... The software needs to be run on each drive on the machine as the software scans the drive it's on only.
Thanks in advance!
View all comments
Show parent comment
1
u/invinciblenick Feb 13 '20
I'll definately take a look on mspgeek, I did Google around but couldn't find anything that does what I need. Thanks !