GetCollectionComputers

<< Click to Display Table of Contents >>

GetCollectionComputers

Lists the names of all computers that are members of a specified collection, sorted alphabetically. Collection membership is refreshed before the list is returned.

NOTE: This command requires a PDQ Inventory Enterprise license.

Syntax

PDQInventory GetCollectionComputers <collection>

Parameters

Parameter

Required

Description

<collection>

Yes

The name, full path, or numeric ID of the collection. Use GetAllCollections to find collection names.

Examples

List computers in the "Windows 10" collection:

PDQInventory GetCollectionComputers "Windows 10"

List all computers (using the built-in All Computers collection):

PDQInventory GetCollectionComputers "All Computers"

 

 

 

© 2026 PDQ.com Corporation. All rights reserved.

PDQ.com is a trademark of PDQ.com Corporation. All other product and company names are the property of their respective owners.

Help Version: 20.0.22.0