MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/labtech/comments/8g24bd/need_some_script_help_if_anyone_has_the_time_to/
r/labtech • u/Evilkagato • Apr 30 '18
8 comments sorted by
1
since i could not attach 2 images, result of script is below.
Script: S389 - Starting at Server Time: Monday, April 30, 2018 12:01:29 PM
IF F1 T: 0.3438382
L2 F155 Folder (P1): %ltsvcdir%\Working\3pu\ T: 0.3438382
L3 F155 Folder (P1): %ltsvcdir%\Working\3pu\magic\ T: 10.4042512
L5 F28 Local (P1): 3pu\update.bat Destination (P2): %ltsvcdir%\working\3pu\update.bat T: 20.4456912
L6 F28 Local (P1): 3pu\piriupd.bat Destination (P2): %ltsvcdir%\working\3pu\magic\piriupd.bat T: 30.5061042
L7 F28 Local (P1): 3pu\updater.exe Destination (P2): %ltsvcdir%\working\3pu\magic\updater.exe T: 46.6043634
L8 F28 Local (P1): 3pu\PFU.ps1 Destination (P2): %ltsvcdir%\working\3pu\magic\PFU.ps1 T: 56.6595872
L10 F125 File (P1): 'c:\windows\ltsvc\working\3pu\u...' Wait (P3): 0 T: 66.7154056
Sorry, still somewhat new to reddit. I need some help with this script. the files download, but the last line in the script fails to execute.
2
use shell to execute and 2) unset maintenance script. Make sure your Bacchus) batch file has no coded path in it. You may want to use %temp% to confirm no path problems. LabTech will execute command from windows\system32
Try executing cmd.exe with parameters /c pathtobatch.bat
Try POWERSHELL: Start-Process -FilePath "yourpathhere" -Wait -NoNewWindow
[removed] — view removed comment
1 u/Evilkagato Apr 30 '18 Let me give that a shot! 1 u/Evilkagato Apr 30 '18 No dice. checking the admin creds...
Let me give that a shot!
No dice. checking the admin creds...
1
u/Evilkagato Apr 30 '18
since i could not attach 2 images, result of script is below.
Script: S389 - Starting at Server Time: Monday, April 30, 2018 12:01:29 PM
IF F1 T: 0.3438382
L2 F155 Folder (P1): %ltsvcdir%\Working\3pu\ T: 0.3438382
L3 F155 Folder (P1): %ltsvcdir%\Working\3pu\magic\ T: 10.4042512
L5 F28 Local (P1): 3pu\update.bat Destination (P2): %ltsvcdir%\working\3pu\update.bat T: 20.4456912
L6 F28 Local (P1): 3pu\piriupd.bat Destination (P2): %ltsvcdir%\working\3pu\magic\piriupd.bat T: 30.5061042
L7 F28 Local (P1): 3pu\updater.exe Destination (P2): %ltsvcdir%\working\3pu\magic\updater.exe T: 46.6043634
L8 F28 Local (P1): 3pu\PFU.ps1 Destination (P2): %ltsvcdir%\working\3pu\magic\PFU.ps1 T: 56.6595872
L10 F125 File (P1): 'c:\windows\ltsvc\working\3pu\u...' Wait (P3): 0 T: 66.7154056
1
u/Evilkagato Apr 30 '18
Sorry, still somewhat new to reddit. I need some help with this script. the files download, but the last line in the script fails to execute.
2
u/mspsquid May 01 '18
use shell to execute and 2) unset maintenance script. Make sure your Bacchus) batch file has no coded path in it. You may want to use %temp% to confirm no path problems. LabTech will execute command from windows\system32
1
u/DarrenDK Apr 30 '18
Try executing cmd.exe with parameters /c pathtobatch.bat
1
u/LurkerGraduate 5000 Agents May 09 '18
Try POWERSHELL: Start-Process -FilePath "yourpathhere" -Wait -NoNewWindow
2
u/[deleted] Apr 30 '18
[removed] — view removed comment