CODE WRITTEN BY QUEST KACE SUPPORT FOR DEMONSTRATION PURPOSES ONLY AND NOT SUPPORTED BY KACE TECHNICAL SUPPORT. CLIENT CONFIRMS THE NEED FOR TESTING AND ACCEPTS ALL RESPONSIBILITY FOR USE AND MISUSE OF CODE. QUEST KACE SHALL NOT BE HELD LIABLE FOR DAMAGE OR DOWN TIME RESULTING FROM USE OF THIS OR ANY CODE PRESENTED FOR PURPOSES OF TROUBLESHOOTING OR DEMONSTRATION. For customization of the KACE Systems Management Appliance, please contact our Professional Services Organization
The following example is for retrieving the 'Modified Date' value of a file in the 'Public Desktop' folder.
To create a Custom Inventory Rule navigate to Inventory | Software | Choose Action | New
1. Give your Inventory rule a meaningful name. For example: "CIR - Retrieve modified date file information"
2. Select target Operating System: depending on the target devices, you can determine the target OS for your rule. For this example we will be using All Windows.
3. Type the command/instructions for your custom inventory rule. For details on the syntax for KACE SMA custom inventory rules please click on the question mark icon next to "Custom Inventory Rule" label.
4. The inventory rule would look as follows: FileInfoReturn(%Public%\Desktop\test.txt, ModifiedDate, DATE) where "test.txt" is the filename with its extension.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center