/build/static/layout/Breadcrumb_cap_w.png

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

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: usaplaza 9 years ago
Second Degree Blue Belt
2
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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ