Does anyone know how to use Powershell to create a script Configuration
Item?

I'm trying to write a script that will pull all printers in from a print
server and create a configuration item per printer to install the printer.
Then it would create Collections and baselines and deployments so we just
need to drop a computer in a collection for it to get a certain printer.

It looks like CIs follow the same format as Applications, so I'm not
expecting much in terms of being able to do this. I already tried to create
a template, export the template as a cab, and then use find/replace in the
two xml files to change printer names. Once I put those files back in a
cab, I can only import them again if I remove the original CI. It always
gives the CI the same Unique ID as is specified in the XML files, so I
can't duplicate the template.


Reply via email to