I have a list of computers (full DNS names). How can I create a new computer group with the list of the 100+ computers? I would imagine relevance would be the best instead of using the wizard. Any ideas? some of my computer names…
Attached is a wizard you can use to generate an ad-hoc group from a list. Just load the OJO from the debug menu and then select ‘Ad-Hoc Group Wizard’ from the Wizards menu. Paste your list of hostnames in the box and click the button. You can then right click the computers in the ad-hoc group and make a manual group from the list.
After clicking the button, if you go back to the wizard you’ll also get a list of any names that didn’t process successfully.
You’ll need your hostnames to match the values in the console’s ‘computer name’ column.
I love the ad-hoc group wizard. By my NON master operators need to be able to use it. They can’t see the “wizards” menu. How can I let me non master operators use the ad-hoc group wizard?
Create a task that does a client force refresh. Right click it and “take default action”.
Under the “target” tab, choose “The computers specified in the list of names below”, then paste in your list of computer names (not IP addresses), then run it.
In the bottom pane, Select all the computers, right click, and choose, “Add to manual group”.
Problem is you can’t see what computers DIDn’t make it into your group. But will get me by for now.
To use wizards, you must have the “Custom Content” privilege, which you can see in the BES Admin tool… This applies to master operators and non-master-operators…
Sure, except I don’t have a “last user” property in my deployment so here is an example with “User Name”.
In the code, replace this line:
var rel = ‘ids of bes computers whose (name of it as lowercase = "’+ chomp(names+.toLowerCase()) + ‘")’;
With this:
var rel = ‘ids of bes computers whose (exists value whose (it = "’+ chomp(names+.toLowerCase()) + ‘") of results (it, bes property whose (name of it = “User Name”)))’;
To use a different property, just replace “User Name” in the above code with the name of the property you’d like to match against.
Also, the performance might be terrible if you have lots of computers in your deployment. Let me know if that’s the case and there are ways to change the query.
I came up with some variations on the ad-hoc theme that others may find useful. In the original ad-hoc wizard, the computer name needed to match exactly. Since we use a lot of naming conventions, it is useful put in a portion of a naming convention, then have it identify machines that match. Enjoy AdHocGroupWizardContainingComputer.ojo.
There is a similar ad-hoc AD OU path wizard. You can search for one or multiple complete or partial OUs or paths in your Active Directory. This again works well with conventions.
I was trying to help a BigFix-ian who needed a MAC search tool… but, yes, the right way to do it would be to build the menu based off of a Relevance query that returned all the properties. Might be a good excuse to learn some Javascript skillz…
Anyone with Javascript skills out there? For such a person it would be really quick (< 15 min) task to fix this Wizard so that the user can pick from a pop-up list of
all
properties (unique values of names of properties of property results of bes computers) rather than just the static five properties that the Wizard has now.