LabTech Support Forums

Run LabTech command via Script

This forum is for discussion of expansion script related issues.

Moderator: jware.connectwise

Run LabTech command via Script

Postby vernon.app-care » Mon Sep 28, 2009 12:22 pm

Could someone point me to a reference of Labtech command numbers to be called using the "Labtech command" script function. I would like to call the deploy patches command specifically from a script, but there are several others I would like to be able to script during the computer onboarding process.
Vernon Southmayd
Java, Reader, iTunes and others - Audited, Updated, Verified, Ticketed and Billed
web: http://www.app-care.com
vernon.app-care
Hero Member
Hero Member
 
Posts: 1100
Joined: Wed Dec 31, 1969 8:00 pm
Location: Saginaw, MI

Run LabTech command via Script

Postby Greg Buerk » Mon Sep 28, 2009 9:38 pm

All Labtech Commands are Listed in the Table RemoteCommands.

But you can not do what you want to do. The Deploy patches accually creates parameters and schedues the script. You could simulate this creation of parameters with a couple of SQL Statements. I am considering changing the script to do this exact thing but it will not be soon.
Greg Buerk
 

Re: Run LabTech command via Script

Postby mdavis.medcodata » Fri Mar 27, 2015 11:43 am

ID Name
1 Update Agent
2 Execute Command
3 Install Tool
4 Upload File
5 Download File
6 DownLoad URL
7 Directory
8 Create Directory
9 RemDir
10 Move Directory
11 Redirector
12 Dns Lookup
13 Ping
14 ipRenew
15 ipConfig
16 Scanning Event Logs
17 Scanning Hardware
18 Scanning Processes
19 Scanning Startup
20 Scanning Disks
21 Scanning Software
22 Update Configs
23 Registry Read
24 Registry Write
25 Registry Delete
26 INI Read
27 INI Write
28 Scanning Services
35 FasTalk
36 Process Filter
38 Event Filter
39 Startup Delete
40 Startup Delete Boot
43 Scanning Printers
44 Cancel Printer Jobs
45 Resume Printer
46 Set Default Printer
47 Print Test Page
48 Kill Process
49 SaveText File
50 Read Text File
51 Move File
52 Delete File
53 Copy File
54 Eject CD
55 Popup Message
56 Map Drive
57 Find File
58 Service Start
59 Service Stop
60 Close CD
61 Play Sound
62 Ping LabTech
63 WaitForFile
64 WakeOnLan
65 Open Browser
66 Hibernate
67 Logoff
68 Reboot
69 Shutdown
70 Suspend
72 Set Master PC
73 GET Screen Shot
74 Remote Install
75 Remote Command
77 Start Network Sniffer
78 Identify OS
79 Scan Hosts
80 Port Scan
81 Quick Ping
82 Do Network Analysis
83 Set Windows Update
84 Monitor Install
85 Monitor Remove
86 Defragment Drive
87 Scan Drive
88 Read Performance Counter
89 Schedule Task
90 Run Program
91 Uninstall Tool
92 TestCPS
93 Share Directory
94 Delete Share
95 Add User
96 Change Password
97 Get SNMP
98 Install Labtech
99 Update LabTech
100 Install Patch
101 Scanning Patches
102 Backup System
103 Install Tweak
104 Uninstall Tweak
105 Change Server Address
106 Update Probe Device
107 TFTP Send File
108 Set SNMP
109 SNMP Walk Device
110 Toggle Probe
111 Change Service Login
112 Check File
113 Local LabTech VNC
114 Zip Files
115 Get Port String
116 Shadow Protect Control
117 Shadow Protect Create
118 Shadow Protect Edit
119 Run as User
120 Run as Admin
121 Chat to User
122 Message to User
123 Scanning System Info
124 Scanning Network Inventory
125 Test Monitor
126 ProbeControl
127 LabTech P2P Start
128 LabTech P2P Control
129 Update Plugins
130 Get Jobs
131 Open Telnet Session
132 Telnet Send Raw
133 Telnet Send Secure
134 Telnet Close
135 SSH Open
136 SSH Send Raw
137 SSH Send Secure
138 SSH Close
139 BITS Download
140 BITS Upload
150 Update AV Policy
151 Upload Monitor Trending Data
155 Clear Monitor Trending Data
200 iSendScreenshot
201 iRemote_Success
202 iSendSnifferLog
203 iSubmitReport
204 Cleanup Disk
205 Send Directory Cache
206 Send Registry Cache
207 Send Drive Cache
208 Send RegKey Cache
209 LabVNC
210 LockDown
211 Scripting KeepAlive
212 Script Remote KeepAlive
214 Agent Tracing
298 iDelay
299 iFlushAndSend
300 Execute LabTech Replacement
301 Invoke Script
1000 Cancel Job
9876 VM Plugin Command
mdavis.medcodata
Newbie
Newbie
 
Posts: 2
Joined: Sun Jan 19, 2014 12:54 pm

Re: Run LabTech command via Script

Postby mdavis.medcodata » Fri Mar 27, 2015 11:44 am

ID Name
1 Update Agent
2 Execute Command
3 Install Tool
4 Upload File
5 Download File
6 DownLoad URL
7 Directory
8 Create Directory
9 RemDir
10 Move Directory
11 Redirector
12 Dns Lookup
13 Ping
14 ipRenew
15 ipConfig
16 Scanning Event Logs
17 Scanning Hardware
18 Scanning Processes
19 Scanning Startup
20 Scanning Disks
21 Scanning Software
22 Update Configs
23 Registry Read
24 Registry Write
25 Registry Delete
26 INI Read
27 INI Write
28 Scanning Services
35 FasTalk
36 Process Filter
38 Event Filter
39 Startup Delete
40 Startup Delete Boot
43 Scanning Printers
44 Cancel Printer Jobs
45 Resume Printer
46 Set Default Printer
47 Print Test Page
48 Kill Process
49 SaveText File
50 Read Text File
51 Move File
52 Delete File
53 Copy File
54 Eject CD
55 Popup Message
56 Map Drive
57 Find File
58 Service Start
59 Service Stop
60 Close CD
61 Play Sound
62 Ping LabTech
63 WaitForFile
64 WakeOnLan
65 Open Browser
66 Hibernate
67 Logoff
68 Reboot
69 Shutdown
70 Suspend
72 Set Master PC
73 GET Screen Shot
74 Remote Install
75 Remote Command
77 Start Network Sniffer
78 Identify OS
79 Scan Hosts
80 Port Scan
81 Quick Ping
82 Do Network Analysis
83 Set Windows Update
84 Monitor Install
85 Monitor Remove
86 Defragment Drive
87 Scan Drive
88 Read Performance Counter
89 Schedule Task
90 Run Program
91 Uninstall Tool
92 TestCPS
93 Share Directory
94 Delete Share
95 Add User
96 Change Password
97 Get SNMP
98 Install Labtech
99 Update LabTech
100 Install Patch
101 Scanning Patches
102 Backup System
103 Install Tweak
104 Uninstall Tweak
105 Change Server Address
106 Update Probe Device
107 TFTP Send File
108 Set SNMP
109 SNMP Walk Device
110 Toggle Probe
111 Change Service Login
112 Check File
113 Local LabTech VNC
114 Zip Files
115 Get Port String
116 Shadow Protect Control
117 Shadow Protect Create
118 Shadow Protect Edit
119 Run as User
120 Run as Admin
121 Chat to User
122 Message to User
123 Scanning System Info
124 Scanning Network Inventory
125 Test Monitor
126 ProbeControl
127 LabTech P2P Start
128 LabTech P2P Control
129 Update Plugins
130 Get Jobs
131 Open Telnet Session
132 Telnet Send Raw
133 Telnet Send Secure
134 Telnet Close
135 SSH Open
136 SSH Send Raw
137 SSH Send Secure
138 SSH Close
139 BITS Download
140 BITS Upload
150 Update AV Policy
151 Upload Monitor Trending Data
155 Clear Monitor Trending Data
200 iSendScreenshot
201 iRemote_Success
202 iSendSnifferLog
203 iSubmitReport
204 Cleanup Disk
205 Send Directory Cache
206 Send Registry Cache
207 Send Drive Cache
208 Send RegKey Cache
209 LabVNC
210 LockDown
211 Scripting KeepAlive
212 Script Remote KeepAlive
214 Agent Tracing
298 iDelay
299 iFlushAndSend
300 Execute LabTech Replacement
301 Invoke Script
1000 Cancel Job
9876 VM Plugin Command
mdavis.medcodata
Newbie
Newbie
 
Posts: 2
Joined: Sun Jan 19, 2014 12:54 pm

Re: Run LabTech command via Script

Postby teamits » Mon Mar 30, 2015 11:36 am

I believe if one holds down Shift while clicking a Command, LabTech will create a script with that command number in it.
Steve
teamits
Hero Member
Hero Member
 
Posts: 1577
Joined: Wed Dec 31, 1969 8:00 pm


Return to 29B. Scripts

Who is online

Users browsing this forum: No registered users and 2 guests