Powershell Xerox - get printer information

772 views Asked by At

I have a printer in local network and need to get printer counter status like below:

enter image description here

There is a code that get the printer status (source gitgub - > https://github.com/KyleOndy/Get-Toner) and it works :

        $printertype = $SNMP.Get(".1.3.6.1.2.1.25.3.2.1.3.1")
        $raw = $SNMP.gettree("43.11.1.1")

$SNMP.gettree return a printer page "Supplies" and I need it to return "Usage counters"

Can someone explain to me how to get this information ?

Much appreciated !

0

There are 0 answers