cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 4

Scripting API (system.find)

Jump to solution

Does anyone know if there is a way to take the "System Location" from the results and find the actual Name or Path associated with the "System Location" ID?

Thanks,

1 Solution

Accepted Solutions
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 4

Re: Scripting API (system.find)

Jump to solution

The System Location that is return is not the Node path.  It is actually the machine ID which is just the value located in the epoleafnode autoid field.  If you want to locate a machine and where it rest in the tree you could do something like this:

/remote/core.executeQuery?target=EPOLeafNode&select=(select+EPOLeafNode.NodeName+EPOBranchNode.NodeT...))

should return something like:

System Name      Assignment Path                                    

-----------               ----------------------------------------------------

labepo                   \Pilot\Desktop Security

Message was edited by: dumolts on 2/20/13 1:51:29 PM CST

Message was edited by: dumolts on 2/20/13 1:51:58 PM CST

View solution in original post

3 Replies
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 4

Re: Scripting API (system.find)

Jump to solution

The System Location that is return is not the Node path.  It is actually the machine ID which is just the value located in the epoleafnode autoid field.  If you want to locate a machine and where it rest in the tree you could do something like this:

/remote/core.executeQuery?target=EPOLeafNode&select=(select+EPOLeafNode.NodeName+EPOBranchNode.NodeT...))

should return something like:

System Name      Assignment Path                                    

-----------               ----------------------------------------------------

labepo                   \Pilot\Desktop Security

Message was edited by: dumolts on 2/20/13 1:51:29 PM CST

Message was edited by: dumolts on 2/20/13 1:51:58 PM CST

View solution in original post

Former Member
Not applicable
Report Inappropriate Content
Message 3 of 4

Re: Scripting API (system.find)

Jump to solution

Thanks! This is exactly what I was looking for; guess I need to read the ad-hoc queries section in the "Scripting Guide."

Former Member
Not applicable
Report Inappropriate Content
Message 4 of 4

Re: Scripting API (system.find)

Jump to solution

Glad I could help. 

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community