<< Click to Display Table of Contents >> CreateCustomField |
Creates a new custom field of the specified type. Custom fields allow you to store and display additional per-computer data in PDQ Inventory.
NOTE: This command requires a PDQ Inventory Enterprise license.
PDQInventory CreateCustomField <name> <type>
Parameter |
Required |
Description |
|---|---|---|
<name> |
Yes |
The name for the new custom field. Must be unique. |
<type> |
Yes |
The data type of the custom field. See Field Types below for accepted values. |
Value |
Description |
|---|---|
Boolean |
True/False |
Date |
Date |
DateTime |
Date & Time |
Integer |
Integer |
String |
Text |
Create a text custom field named "Department":
PDQInventory CreateCustomField Department String
Create a date custom field named "Lease End":
PDQInventory CreateCustomField "Lease End" Date
NOTE: After creating a custom field, use ImportCustomFields to populate it with data from a CSV file.
© 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