我希望能够监控我的打印机状态网页,并在墨水量低于25%时通过脚本给我发送电子邮件。林相当肯定这可以在Powershell中完成,但我在如何做到这一点上的损失。Web浏览器在PowerShell监控页面
这是有问题的网页HTML:
<h2>Supply Status</h2>
<table class="matrix">
<thead>
<tr>
<th>Supply Information</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>Black Toner</td>
<td>End of life</td>
</tr>
<tr>
<td>Cyan Toner</td>
<td>Under 25%</td>
</tr>
<tr>
<td>Magenta Toner</td>
<td>Under 25%</td>
</tr>
<tr>
<td>Yellow Toner</td>
<td>Under 25%</td>
</tr>
</tbody>
</table>
<p>
感谢。
亚当
你能帮助我一点,我对这一切都很陌生。 – user989384
我也是。通常我使用示例和文档来实现我所需要的。但现在已经有一段时间了,我使用这个库,所以除非我花费你应该花费的所有努力,否则我无法提供帮助。 – Joey