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...

This is a prerelease version of PwSh.Fw.Web.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PwSh.Fw.Web -RequiredVersion 1.3.0-pre35 -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PwSh.Fw.Web -Version 1.3.0-pre35 -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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

Core

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

Version History

Version Downloads Last updated
1.6.0 56 12/4/2026
1.6.0-pre56 77 10/15/2026
1.6.0-pre55 7 10/15/2026
1.5.1 179 10/15/2026
1.5.1-pre50 5 10/15/2026
1.5.1-pre49 5 10/15/2026
1.4.0-pre36 8 10/14/2026
1.3.0-pre35 (current version) 4 10/14/2026
1.3.0-pre32 32 10/6/2026
1.3.0-pre31 6 10/5/2026
1.3.0-pre30 76 6/25/2026
1.3.0-pre29 9 6/25/2026
1.3.0-pre27 148 2/17/2026
1.3.0-pre23 297 6/29/2025
1.3.0-pre00 5 10/6/2026
1.2.1-pre22 69 2/21/2025
1.2.1-pre19 38,572 10/4/2023
1.2.0-pre16 8 10/4/2023
1.1.0-pre14 158 9/21/2021
1.1.0-pre13 22 9/21/2021
1.1.0-pre12 27 7/20/2021
1.1.0-pre11 93 3/15/2021
1.1.0-pre10 116 3/2/2021
1.0.0.9 7,765 2/17/2021
1.0.0-pre08 25 2/17/2021
1.0.0-pre07 27 2/17/2021
1.0.0-pre06 24 2/17/2021
1.0.0-pre05 29 12/10/2020
1.0.0-pre04 25 12/10/2020
1.0.0-pre01 32 6/23/2020
Show less