PwSh.Fw.Web
1.3.0-pre35
PwSh.Fw.Web can manipulate objects on from the web. It can download, test URI, and more, manipulate query strings and more...
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2020 Charles-Antoine Degennes. All rights reserved.
Package Details
Author(s)
- Charles-Antoine Degennes
Tags
Windows Linux MacOS PwSh.Fw web
Functions
ConvertTo-QueryString Download-File Download-FileWithRC Get-UriWebRc Test-WebFileExist Trim-Url Upload-File
PSEditions
Dependencies
Release Notes
## [1.3.0] - 2026-10-06
### Added
### Changed
- `Get-UriWebRc` use method HEAD to avoid downloding any content
- `Get-UriWebRc` now relies on `[System.Net.HttpWebRequest]` so that HTTP status codes are reported consistently under Windows PowerShell 5.1 and PowerShell 7
- `Download-File` add `checkMD5` parameter to automatically check MD5 hash after download
- `Download-File` return value contract: always returns a boolean (`$true` when the file is present and valid at the destination, `$false` otherwise), never `$null`
- `ConvertTo-QueryString` booleans are rendered as lowercase `true` / `false`
- test suite rewritten with Pester 5, running fully offline against a local HTTP stub (no more external network dependency)
### Deprecated
### Removed
### Fixed
- `Get-UriWebRc` returned nothing instead of the documented `-1` on network failures (DNS, connection refused...) under PowerShell 7
- `Download-File` returned `$null` when the file already existed or the URL was not available; a warning is now emitted when the download is skipped
- `Download-FileWithRC` could attempt to write to the filesystem root when `-To` was not specified; `-To` now defaults to the current location
- `ConvertTo-QueryString` silently dropped values of numeric types other than `int` / `long` (double, decimal, byte...)
- `ConvertTo-QueryString` did not URL-encode keys and values (spaces, `&`, `=` produced invalid query strings)
- `ConvertTo-QueryString` JSON round-trip reordered plain hashtables alphabetically and coerced numeric-looking strings into numbers; the round-trip is removed
- `ConvertTo-QueryString` scalar values are now formatted with the invariant culture (no more locale-dependent `1,5`)
### Security
FileList
- PwSh.Fw.Web.nuspec
- PwSh.Fw.Web.psd1
- PwSh.Fw.Web.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.4.0-pre36 | 5 | 10/14/2026 |
| 1.3.0-pre35 (current version) | 2 | 10/14/2026 |
| 1.3.0-pre32 | 31 | 10/6/2026 |
| 1.3.0-pre31 | 5 | 10/5/2026 |
| 1.3.0-pre30 | 75 | 6/25/2026 |
| 1.3.0-pre29 | 8 | 6/25/2026 |
| 1.3.0-pre27 | 147 | 2/17/2026 |
| 1.3.0-pre23 | 296 | 6/29/2025 |
| 1.3.0-pre00 | 4 | 10/6/2026 |
| 1.2.1-pre22 | 68 | 2/21/2025 |
| 1.2.1-pre19 | 38,571 | 10/4/2023 |
| 1.2.0-pre16 | 7 | 10/4/2023 |
| 1.1.0-pre14 | 157 | 9/21/2021 |
| 1.1.0-pre13 | 21 | 9/21/2021 |
| 1.1.0-pre12 | 26 | 7/20/2021 |
| 1.1.0-pre11 | 92 | 3/15/2021 |
| 1.1.0-pre10 | 113 | 3/2/2021 |
| 1.0.0.9 | 7,758 | 2/17/2021 |
| 1.0.0-pre08 | 24 | 2/17/2021 |
| 1.0.0-pre07 | 26 | 2/17/2021 |
| 1.0.0-pre06 | 23 | 2/17/2021 |
| 1.0.0-pre05 | 26 | 12/10/2020 |
| 1.0.0-pre04 | 24 | 12/10/2020 |
| 1.0.0-pre01 | 28 | 6/23/2020 |