I am trying to create a Smart Label that contains all computers imaged by the K2000 within the last 4 hours. I want to base this on information parsed from the k2000_deployment_info.conf file. The Smart Label will be used for post-installation software deployment. 

I've created a Custom Inventory Rule based on the deployment_time string in the k2000_deployment_info.conf file, but it is a text string and I am having difficulty getting the K1000 Smart Label to interpret it as a date.

I'm using the command

ShellCommandTextReturn(findstr "deployment_time" C:\ProgramData\Dell\KACE\k2000_deployment_info.conf

to create the CI. It is returning results like, deployment_time=2014-12-10T15:56:41+0000

How do I get the Smart Label to interpret that string as a date?

Thank you.

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


There have been several post on this topic however this post was quite good. http://blog.kace.com/tag/smart-label/ The referenced article will give you a very good Info return string for date that you can use with a smart label.

FileInfoReturn(C:\ProgramData\Dell\KACE\k2000_deployment_info.conf, CreatedDate, DATE)

Then in your smart label creation scroll down to Custom Fields and select your CIR value is within last and your done. Hope this is what your looking for.
Answered 12/11/2014 by: usaplaza
Second Degree Blue Belt

  • The updated link to this article is:


    This was requested of us recently so i'm glad the article was found.
Please log in to comment