/build/static/layout/Breadcrumb_cap_w.png

Need help creating a K1000 Smart Label that looks for startup programs

I'm not seeing an option in the Create Smart Label form fields for testing startup programs or processes.  Both are recorded but not sure how to tap into this.

Ultimately I'm sure I'll be looking for an SQL statement to accomplish this.  Is there a place one looks to find a list of these fields to search by?


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: jknox 12 years ago
Red Belt
3

If you are looking for a specific process or startup program, you could probably use a custom data field and then a smart label.

http://www.kace.com/support/resources/kb/article/What-are-the-steps-to-create-a-custom-data-field-Inventory

https://www.kace.com/support/resources/kb/article/Writing-Command-Line-Output

You can get the database schema by connecting and using a command similar to this:

show tables;

desc <TABLE_NAME>

How to connect: http://www.kace.com/support/resources/kb/article/Can-I-access-the-K1000-appliance-database-using

Posted by: xoanan 12 years ago
White Belt
1

Interesting that the inventory data isn't available to create a smart filter!  That being the case, you can create a Custom Inventory Field using the command wmic startup get caption to put the data into a field that you can use in a smart label.

  1. On your K1000 go to Inventory->Software and select the "Add New Item" action
  2. Give it a name and notes, etc
  3. In the Custom Inventory Rule section put ShellCommandTextReturn(wmic startup get caption)
  4. Test it by forcing some computers to do an inventory update.

Now you can see your new custom field down past the built-in fields when creating a smart label... use the "Contains" operator and there you go!

 

Posted by: jamie_kace 7 years ago
Brown Belt
1

Top Answer

I just came across this and wrote an article on how to do this...


Comments:
  • Awesome Jamie! I can't remember what I wanted this for, but I'll test this out for sure! - worzie 7 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ