mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
added
This commit is contained in:
18
TrackingUtils.ps1
Normal file
18
TrackingUtils.ps1
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
function Import-USPS {
|
||||||
|
param(
|
||||||
|
$TrackingNumber,
|
||||||
|
[Switch]$UseDefaultCredentials
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
|
Import-Html "https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=$($TrackingNumber)" 0 -UseDefaultCredentials: $UseDefaultCredentials
|
||||||
|
}
|
||||||
|
|
||||||
|
function Import-UPS {
|
||||||
|
param(
|
||||||
|
$TrackingNumber,
|
||||||
|
[Switch]$UseDefaultCredentials
|
||||||
|
)
|
||||||
|
|
||||||
|
Import-Html "https://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=$($TrackingNumber)" 0 -UseDefaultCredentials: $UseDefaultCredentials
|
||||||
|
}
|
||||||
BIN
images/Tracking.gif
Normal file
BIN
images/Tracking.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 648 KiB |
Reference in New Issue
Block a user