Some ci's don't have assets

Prince Sai
Giga Expert

Hi All,

 

We have 1000 configuration items don't have any related hardware records. I want to create a 1000 related hardware records at a time.

 

For example: 1000 ci's (computer table cmdb_ci_computer) don't have assets. I want to create 1000 computer hardware records.

 

I need any fix script which will fulfill my requirement?

 

Thanks 

6 REPLIES 6

Whenever you assign a model to a CI, the model will always add on any model categories that match the CI class that the model was assigned to.  If a laptop of this model was found with a Windows Server OS installed and another laptop of this model was found with a Linux OS installed, then what ServiceNow is telling you is that this particular model "could be a regular computer or a Windows Server or a Linux Server depending on what is installed".  That is how it is designed to work for a reason, because some device models can be different CI classes depending on how they are configured.  It does beg the question why a laptop would have a Windows Server OS installed, but that's a separate question.


The opinions expressed here are the opinions of the author, and are not endorsed by ServiceNow or any other employer, company, or entity.

That does make sense.  I guess with Linux server, any install of Linux may come back as Linux Server.  Will check in to see if we can find which laptop might have had a Win Server OS installed.  Thanks for the clarification on this.