Skip to content

CMS_RemoveCustomInventory

Removes a CustomInventory row that is persistent from the database.

CMS_RemoveCustomInventory(category, entry) as boolean

Category name

variable name

Boolean, TRUE if function completed successfully.

If bStatus Then bStatus = CMS_RemoveCustomInventory("Customer Inventory", "Install time packages")
If bStatus Then bStatus = CMS_RemoveCustomInventory("Bitlocker", "TPM Chip - Enabled")
If bStatus Then bStatus = CMS_RemoveCustomInventory("Bitlocker", "TPM Chip - Manufactured")

Scripting Guidelines

CMS_AddCustomInventory Constants Package Property Variables Business Unit support