A
Arild Bakken
Hi,
I'm trying to enumerate printers on a printcluster using WMI. However, the
result is always empty when I run the query against the virtual server
(script is run remotely). If I run the query against the node instead, I
only get printers defined on that node, which is just a couple, while the
virtual server has about one thousand printers. I've tried both the
Win32_Printer and the Win32_PrinterConfiguration classes, both with the same
result - nothing. I know the code is correct since it works as expected when
run against a regular server. Using regular windows API methods works
correctly, however WMI would be our preffered choice.
Is anyone aware of any issues related to using those WMI classes on a
cluster? Enumerating fileshares on a filecluster (and also on the
printcluster) works, so it seems to be specific to the printer classes.
Could the cluster or the printers be configured incorrectly?
Any help is appreciated,
Arild
I'm trying to enumerate printers on a printcluster using WMI. However, the
result is always empty when I run the query against the virtual server
(script is run remotely). If I run the query against the node instead, I
only get printers defined on that node, which is just a couple, while the
virtual server has about one thousand printers. I've tried both the
Win32_Printer and the Win32_PrinterConfiguration classes, both with the same
result - nothing. I know the code is correct since it works as expected when
run against a regular server. Using regular windows API methods works
correctly, however WMI would be our preffered choice.
Is anyone aware of any issues related to using those WMI classes on a
cluster? Enumerating fileshares on a filecluster (and also on the
printcluster) works, so it seems to be specific to the printer classes.
Could the cluster or the printers be configured incorrectly?
Any help is appreciated,
Arild