Quantcast
Channel: LANDESK User Community : All Content - Inventory
Viewing all articles
Browse latest Browse all 456

How to create a query to differentiate between Desktops and Laptops/Notebooks

$
0
0

How to create a query to differentiate between desktops and laptops using the existing inventory information that is gathered by LANDesk

 

Creating a query that returns laptops/notebooks

 

1) Open the LANDesk Management Suite console
2) In the Network View, expand Queries.
3) Right-click on 'My Queries', select 'New Query'
4) In the name field, type 'Laptop'.
5) Select the "Computer"."System"."Has Battery" component from the left pane.
6) Select the '<>' (not equal) operator from the middle pane.
7) Select the 'No' value from the right pane.
8) Click on the 'Insert' button.
9) Select the "Computer"."System"."Chassis Type" component from the left pane.
10) Select the '=' operator from the middle pane.
11) Select the 'Notebook' value from the right pane.
12) Select 'OR' from the drop-down menu.
13) Click on the 'Insert' button.
14) The end query will look like this:

 

"Computer"."System"."Has Battery" <> "No"
OR "Computer"."System"."Chassis Type" = "Notebook"

 

15) Click on the 'Save' button.

 

 

 


Creating a query that returns desktops
1) Open the LANDesk Management Suite console
2) In the Network View, expand Queries.
3) Right-click on 'My Queries', select 'New Query'
4) In the name field, type 'Desktop'.
5) Select the "Computer"."System"."Has Battery" component from the left pane.
6) Select the '=' operator from the middle pane.
7) Select the 'No' value from the right pane.
8) Click on the 'Insert' button.
9) Select the "Computer"."System"."Chassis Type" component from the left pane.
10) Select the '<>' operator from the middle pane.
11) Select the 'Notebook' value from the right pane.
12) Select 'OR' from the drop-down menu.
13) Click on the 'Insert' button.
14) The end query will look like this:

 

"Computer"."System"."Has Battery" = "No"
OR "Computer"."System"."Chassis Type" <> "Notebook"

 

15) Click on the 'Save' button.


Viewing all articles
Browse latest Browse all 456

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>