[REG] SNMP printer page count

Discussion in 'Application Software' started by sebus, Jan 20, 2024.

  1. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,354
    2,026
    210
  2. 12 lb Turkey

    12 lb Turkey MDL Junior Member

    Nov 24, 2022
    77
    43
    0
  3. 12 lb Turkey

    12 lb Turkey MDL Junior Member

    Nov 24, 2022
    77
    43
    0
    Here's a PS one-liner with 'public' as the Community String:
    Code:
    powershell "$SNMP = New-Object -ComObject olePrn.OleSNMP; $SNMP.Open('192.168.0.10','public',2,500); $SNMP.Get('.1.3.6.1.2.1.43.10.2.1.4.1.1'); $SNMP.Close()"
    14902
    
     
  4. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,354
    2,026
    210