...
Gets inventory values from the database, from either the Hardware, Custom, or Logon inventory tables.
Please note, that this is an expensive call, seen from the Frontend/database perspective. Calling this function repeatedly from a package could result in overall slower performance. |
This function should be used with care. |
Syntax
CMS_GetInventory(table, category, entry) As string
[string]CMS_GetInventory -table <table> -category <category> -entry <entry>
Parameters
table (string)
Table (string)
...
variable name
Return value
The function returns a boolean (bStatus), indicating if the call was successful. The requested value will be stored in gsValue.
Result will be returned as the result of the function.
Example
VBScript
|
PowerShell
|
Related functions
https://capasystems.atlassian.net/wiki/spaces/CI65DOC/pages/19382166654
https://capasystems.atlassian.net/wiki/spaces/CI65DOC/pages/19382166618 CMS_AddHardwareInventory