I’m at a loss. I figured using either set-printer or set-printerproperty I would be able to modify the caption and description fields for a printer (ultimately 1000’s of printers), but I keep hitting a wall. Nether caption or description are a parameter or propertyname (when using set-printerproperty) according to the error message. But when I run both through Get-member, it looks like they are.
Get-Printer -ComputerName dcr-team-tst-01 -Name "Microsoft XPS Document Writer" | gm
Get-PrinterProperty -ComputerName dcr-team-tst-01 -printername "Microsoft XPS Document Writer" | gm
So if I can’t set those properties from either of those set commands anyone know where I can modify them?
CaptionandDescriptionis just an inherited property from the theCIM_ManagedSystemElementclass.Descriptionis available on printer objects, but from what I know, it is set by the driver. That’s why it just says “Unavailable” when you look go into Properties of the printer.To sum up: you can not use the
CaptionandDescriptionproperties. UseCommentandLocationto provide information.EDIT Source: MSDN Win32_Printer class
And