Log of /Get-HpProductInfo.ps1
Parent Directory
Revision
19 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 2 22:31:19 2014 UTC (10 years, 3 months ago) by
ian
File length: 30310 byte(s)
Diff to
previous 18
OEM and Spare parts are now stored separately, so the object and XML format have changed slightly;
Most comments turned into Write-Debug lines for easier debugging;
Raw HTML data is now cached when using -Debug;
Since the order check boxes are no longer reliable non U.S. parts are filtered out using a list of terms;
Parts which have been superseded are now filtered out;
Sorry, still no warranty data, new site is a huge pain to scrape;
Revision
18 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 26 00:28:29 2013 UTC (10 years, 4 months ago) by
ian
File length: 25276 byte(s)
Diff to
previous 17
The HP PartSurfer site changed a week or so back and broke that part of the script as well, part and sku data lookup now works again;
Warranty lookup is still broken and proving to be very stubborn to scrape the new site;
Revision
17 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 7 00:13:32 2013 UTC (10 years, 7 months ago) by
ian
File length: 21714 byte(s)
Diff to
previous 16
serial number is now trimmed of whitespace before processing;
script now accepts multiple serial numbers via pipeline and comma separated in line list;
Revision
15 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 16 01:18:50 2013 UTC (10 years, 7 months ago) by
ian
File length: 19226 byte(s)
Diff to
previous 14
added refresh switch to force fetching new data;
fixed custom object type error in PowerShell 3.0;
re-added count of order-able parts;
Revision
14 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 9 06:42:38 2013 UTC (10 years, 8 months ago) by
ian
File length: 18568 byte(s)
Diff to
previous 13
caching is now fully implemented;
date format for text output now only displays the date and not zeros for hours, mins, and seconds;
Revision
13 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 26 05:38:55 2013 UTC (10 years, 8 months ago) by
ian
File length: 13654 byte(s)
Diff to
previous 12
proper param and info markup for using the Get-Help;
now returns plain text or supply the OjbectOutput switch to return an object;
I realized the implementation of nested objects is not proper, will do more research and try to fix later;
Revision
11 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 24 23:56:19 2013 UTC (10 years, 8 months ago) by
ian
File length: 17444 byte(s)
Diff to
previous 10
Get-HpProductInfo.ps1:
replaced some XML collections of data with hash tables and arrays to improve speed and use less code;
partially done modifying code to output an object instead of plain text;
Revision
10 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 19 01:55:52 2013 UTC (10 years, 8 months ago) by
ian
File length: 13324 byte(s)
Diff to
previous 9
script is now provides full base functionality (product info, warranty, parts);
Revision
9 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 18 00:07:30 2013 UTC (10 years, 8 months ago) by
ian
File length: 5978 byte(s)
Diff to
previous 8
Now sending cookie with country set to US so the server provides check boxes indicating orderable parts;
Filtering orderable parts by check box and then by -001 suffix;
Revision
8 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 17 19:39:04 2013 UTC (10 years, 8 months ago) by
ian
File length: 5496 byte(s)
Diff to
previous 7
Eliminated many lines, improved readability, and speed by using silent erroraction when filting nodes by id instead of several lines of error checking;
New more robust method of iterating through parts;
Revision
4 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 10 06:11:36 2013 UTC (10 years, 9 months ago) by
ian
Original Path:
get-hpPcInfo.ps1
File length: 8056 byte(s)
Diff to
previous 3
IE COM manipulation was too inconsistent between different version of IE;
Managed to do some manual cleaning of the HTML so it will parse into XML;
Commented out experimental code left in for this commit just in case;
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.