How do I create a Smart Label based on the K2000 image deployment date?
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
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.
Evan
How do I get the Smart Label to interpret that string as a date?
Thank you.
Evan
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
usaplaza
10 years ago
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.
Comments:
-
The updated link to this article is:
http://en.community.dell.com/techcenter/endpoint-management/kace/b/weblog/archive/2013/06/03/dr-k-s-korner-ideas-for-success
This was requested of us recently so i'm glad the article was found. - lorena.palacios 8 years ago