/build/static/layout/Breadcrumb_cap_w.png

Is there a way to limit the deployment of a Custom Inventory Rule - ShellCommandTextReturn

it seems this custom inventory rule will apply to all machines no matter if a label is selected for the software.  I tried creating a distribution for the custom inventory rule/software to limit the population through labels or explicitiy selecting machine but the function still seems to apply to every computer that checks in.  Is there any way to limit the scope for testing purposes?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: jverbosk 11 years ago
Red Belt
4

I'm not aware of any way to restrict software inventory items other than using multiple ORGs (separate databases).  If you can use multiple ORGs, having one setup just for testing (with test machines) would be a great resource.  If I'm not mistaken, though, it does cost more to have.

If that's not viable, you could do something similar with scripting and the text return field.  To do this, write your querying script to output the result(s) to a text file, then use the "on success - upload a file" action to upload the resulting file to the targeted computer's inventory (they appear in the "Uploaded Files" section).  This will allow you to target your test machines specifically via names or label, then verify via the uploaded files.  I took this approach initially when setting up scripts for capturing user profile-specific data and it worked well, but the main drawback is the inability to report using these files.  See this post for more details:

Inventorying & Reporting on User Profile-Specific & Other Non-Inventoried Data

http://www.itninja.com/blog/view/inventorying-reporting-on-user-profile-specific-other-non-inventoried-data

Granted, this won't be apples-to-apples since you won't actually be using the custom software inventory rules, but it should be close enough and may be the only good option aside from separate ORGs.

John


Comments:
  • Apologies for the late response.. this input was valuable. Thank you. - dyee 11 years ago
  • No problem! ^_^ - jverbosk 11 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