Provide PublishedName in printmanagement cmdlet
pnputil provides the PublishedName property. This can come in handy in rare cases where Windows does not properly register and unregister a driver.
This is what I am looking for:
Microsoft PnP Utility
Adding driver package: cnp60ma64.inf
Driver package added successfully.
Published Name: oem20.inf <---- need this
Driver package installed.
Total driver packages: 1
Added driver packages: 1
Unfortunately, the printmanagement cmdlet does not provide this functionality when adding or enumerating driver objects. Add-WindowsDriver and Get-WindowsDriver do, but you can only use Add-WindowsDriver on offline images at the moment.
Is there any plan to enhance or change this?