Asked by:
Xerox printer embedded page page supplies access using powershell

Question
-
Dear Fellows,
I have a situation, I am trying to automate Xerox embedded web page supplies status checking for more than 50 printers installed in my organization using powershell invoke-webrequest method.
I have successfully accessed webpage but unable to parse supplies status information, can any one plz help to retrieve the required information using powershell or any other scripting method to automate the process of recording supplies information, would be very grateful
- Edited by novice kid143 Thursday, March 1, 2018 7:43 AM
Thursday, March 1, 2018 7:36 AM
All replies
-
Is there a specific reason to do this via the Web interface? Most printers implement these feature via SNMP as well, which would be easier to query via PowerShell.
What do you have so far? Without having access to the exact model and firmware version, it's impossible to test/replicate the GUI behavior.
I would first try to access the values via SNMP and keep Invoke-WebRequest as a last ditch effort.
Thursday, March 1, 2018 11:07 AM -
The vendor is responsible for the web page. Contact the vendor to see if this is possible. For most vendors this is not possible by design.
Please carefully review the following links to set your expectation for posting in technical forums.
This Forum is for Scripting Question Rather than script requests
From a Bill Stewart summary of useful forum links:
- Posting guidelines
- Handy tips for posting to this forum
- How to ask questions in a technical forum
- Rubber duck problem solving
- How to write a bad forum post
- Help Vampires: A Spotter's Guide
- This forum is for scripting questions rather than script requests
\_(ツ)_/
Thursday, March 1, 2018 4:06 PM -
Using snmp to find the page and toner count shouldn't be too hard, if the answer returned is a regular string or a string that looks like an integer. If you have to test the individual bits in the response, that can be a challenge. I actually posted a powershell function here to do it. https://stackoverflow.com/questions/27054622/how-to-read-snmp-oid-output
- Edited by JS2010 Friday, March 2, 2018 6:04 PM
Friday, March 2, 2018 6:04 PM -
Hi,
Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
Best Regards,
FrankPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comMonday, March 5, 2018 7:05 AM -
Hi,
Was your issue resolved?
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Best Regards,
FrankPlease remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comThursday, March 8, 2018 9:07 AM