PwSh.Fw.OS

1.6.0-pre275

Module of PwSh.Fw framework to deal with Operating Systems.

This is a prerelease version of PwSh.Fw.OS.
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.OS -RequiredVersion 1.6.0-pre275 -AllowPrerelease

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

Install-PSResource -Name PwSh.Fw.OS -Version 1.6.0-pre275 -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-2026 Charles-Antoine Degennes <cadegenn[@]gmail.com>. All rights reserved.

Package Details

Author(s)

  • Charles-Antoine Degennes <cadegenn[@]gmail.com>

Tags

Windows Linux MacOS PwSh.Fw os Operating_System

Functions

ConvertTo-VersionNumber Get-OnlineOperatingSystem Get-OperatingSystem Get-OperatingSystemObject Get-OSAttribute Get-OSKernel Get-OSMainstream Get-OSPackage Get-OSPlatform Get-OSRoot Get-PwShFwOSEnv Load-Dictionary Load-OSLibraries New-OSObject Set-PwShFwOSEnv Test-IsOSRoot Test-OSIsOnline Write-PwShFwOSDebug Write-PwShFwOSDevel Write-PwShFwOSEnterFunction Write-PwShFwOSLeaveFunction Write-PwShFwOSMessage

PSEditions

Core

Dependencies

Release Notes

## [unreleased]
### Added
- [linux/arch] begin support for Arch Linux based distributions
- [windows] `Get-OSArch` now supports ARM processors (`arm32`/`arm64`) in online and offline mode
### Changed
- [all] rename `Load-Library`/`Load-Libraries` to `Load-OSLibraries` (also fixes the broken call in `Get-OSAttribute`)
- [ci] `scripts/02_test.ps1` now accepts a `-Platform` parameter (`Windows`/`Linux`/`macOS`, defaulting to the current OS) and only runs the matching `Tests/<Platform>` folder
- [ci] each test job (Windows/Linux) now only runs its own platform's tests
### Deprecated
### Removed
### Fixed
- [windows] `Get-OSArch` offline mode returned `x64` for x86 OSes (`x86fre` build label)
- [tests/linux] rewritten `Lib.Linux.Tests.ps1` around fake roots (`-Root`) instead of broken mocks: undefined `New-FakeRoot` helper, non-intercepted `Get-Content` mocks, wrong expected values, and call to nonexistent `Get-OSFolders` (now `Get-OSFolder`)
- [tests/windows] fixed `Lib.Windows.Tests.ps1` mocks so they match the implementation's wildcard patterns (`WindowsPE`, `Client`), fixed the `Test-RegValueExist` mock that always returned `$false`, made the online `Get-OSReleaseId` assertion version-proof, and cast mocked build numbers to integers
- [tests/windows] `Lib.Windows.WinNT.WindowsDesktop.Tests.ps1`: unknown build number emits a warning (not an exception), the test now asserts on the warning output instead of `Should -Throw`
### Security

FileList

Version History

Version Downloads Last updated
1.6.0-pre277 5 9/24/2026
1.6.0-pre276 7 9/23/2026
1.6.0-pre275 (current version) 5 9/23/2026
1.6.0-pre274 11 9/23/2026
1.5.0 351 4/15/2026
1.5.0-pre261 22 3/30/2026
1.5.0-pre259 33 3/25/2026
1.5.0-pre258 8 3/24/2026
1.5.0-pre257 11 3/24/2026
1.5.0-pre255 54 2/25/2026
1.5.0-pre254 14 2/25/2026
1.5.0-pre251 73 1/14/2026
1.5.0-pre250 29 12/18/2025
1.5.0-pre249 60 8/28/2025
1.5.0-pre241 8 8/28/2025
1.5.0-pre239 20 8/26/2025
1.4.2 188 8/28/2025
1.4.2-pre242 7 8/28/2025
1.4.1 8 8/28/2025
1.4.0-pre234 63 8/1/2025
1.4.0-pre233 8 8/1/2025
1.4.0-pre232 5 5/27/2025
1.4.0-pre231 5 5/27/2025
1.4.0-pre230 6 5/27/2025
1.4.0-pre229 6 5/27/2025
1.4.0-pre228 5 5/26/2025
1.4.0-pre227 5 5/26/2025
1.4.0-pre226 6 5/26/2025
1.4.0-pre225 6 5/26/2025
1.3.1-pre00 6 5/26/2025
1.3.0-pre215 107 11/29/2024
1.3.0-pre214 12 11/15/2024
1.3.0-pre213 17 11/13/2024
1.3.0-pre212 10 11/13/2024
1.3.0-pre211 15 11/12/2024
1.3.0-pre210 11 11/12/2024
1.3.0-pre209 24 10/20/2024
1.3.0-pre208 8 10/20/2024
1.3.0-pre206 8 10/19/2024
1.3.0-pre195 11 10/17/2024
1.3.0-pre192 8 10/17/2024
1.3.0-pre191 8 10/17/2024
1.3.0-pre190 49 10/9/2024
1.3.0-pre189 18 10/3/2024
1.3.0-pre188 7 10/2/2024
1.3.0-pre187 8 9/27/2024
1.3.0-pre186 8 9/27/2024
1.3.0-pre185 10 9/20/2024
1.3.0-pre184 9 9/20/2024
1.3.0-pre183 6 9/20/2024
1.3.0-pre182 7 9/20/2024
1.3.0-pre181 10 9/19/2024
1.3.0-pre180 11 9/16/2024
1.3.0-pre179 7 9/16/2024
1.3.0-pre178 9 9/13/2024
1.3.0-pre177 10 9/11/2024
1.3.0-pre176 21 9/4/2024
1.3.0-pre175 15 7/26/2024
1.3.0-pre174 10 7/25/2024
1.3.0-pre173 8 7/25/2024
1.3.0-pre172 72 7/22/2024
1.3.0-pre168 631 4/15/2024
1.3.0-pre167 8 4/15/2024
1.3.0-pre166 9 4/15/2024
1.3.0-pre165 8 4/15/2024
1.3.0-pre164 295 3/1/2024
1.3.0-pre163 12 3/1/2024
1.3.0-pre162 239 1/18/2024
1.3.0-pre161 11 1/18/2024
1.3.0-pre160 10 1/18/2024
1.3.0-pre159 21 1/18/2024
1.3.0-pre158 41 1/5/2024
1.3.0-pre157 25 9/28/2023
1.3.0-pre156 115 7/28/2023
1.3.0-pre155 86 7/13/2023
1.3.0-pre154 10 7/13/2023
1.3.0-pre153 12 7/13/2023
1.3.0-pre152 11 7/13/2023
1.3.0-pre151 12 7/13/2023
1.3.0-pre150 11 7/12/2023
1.3.0-pre149 44 4/14/2023
1.3.0-pre148 20 4/14/2023
1.3.0-pre147 14 4/14/2023
1.3.0-pre146 14 4/14/2023
1.3.0-pre145 20 4/14/2023
1.3.0-pre144 42 3/24/2023
1.3.0-pre143 12 3/22/2023
1.3.0-pre142 11 3/22/2023
1.3.0-pre141 11 3/22/2023
1.3.0-pre140 11 3/17/2023
1.3.0-pre139 11 3/17/2023
1.3.0-pre138 11 3/17/2023
1.3.0-pre137 11 3/17/2023
1.3.0-pre136 11 3/17/2023
1.3.0-pre135 10 3/17/2023
1.3.0-pre134 10 3/17/2023
1.3.0-pre133 11 3/17/2023
1.3.0-pre132 11 3/17/2023
1.3.0-pre131 11 3/17/2023
1.3.0-pre130 12 3/17/2023
1.3.0-pre129 11 3/17/2023
1.3.0-pre128 11 3/17/2023
1.3.0-pre127 12 3/17/2023
1.3.0-pre126 8 3/17/2023
1.3.0-pre125 8 3/17/2023
1.3.0-pre124 8 3/16/2023
1.3.0-pre121 8 3/16/2023
1.3.0-pre120 9 3/15/2023
1.3.0-pre119 11 3/15/2023
1.3.0-pre118 9 3/15/2023
1.3.0-pre116 28 11/8/2022
1.3.0-pre115 13 11/8/2022
1.3.0-pre114 22 11/8/2022
1.3.0-pre113 18 11/6/2022
1.3.0-pre112 21 11/4/2022
1.3.0-pre111 20 11/4/2022
1.3.0-pre110 18 11/4/2022
1.3.0-pre109 19 11/4/2022
1.3.0-pre108 21 11/4/2022
1.3.0-pre106 28 11/4/2022
1.2.0.104 884 9/4/2022
1.2.0-pre99 46 2/9/2022
1.2.0-pre98 35 2/9/2022
1.2.0-pre97 71 1/27/2022
1.2.0-pre96 37 1/27/2022
1.2.0-pre95 35 1/27/2022
1.2.0-pre94 37 1/27/2022
1.2.0-pre93 41 1/26/2022
1.2.0-pre92 36 1/26/2022
1.2.0-pre91 36 1/26/2022
1.2.0-pre90 48 1/26/2022
1.2.0-pre89 37 1/26/2022
1.2.0-pre88 38 1/26/2022
1.2.0-pre87 35 1/26/2022
1.2.0-pre86 35 1/26/2022
1.2.0-pre85 35 1/26/2022
1.2.0-pre84 35 1/26/2022
1.2.0-pre83 38 1/26/2022
1.2.0-pre76 75 11/26/2021
1.2.0-pre74 33 11/26/2021
1.2.0-pre73 32 11/26/2021
1.2.0-pre102 28 9/2/2022
1.2.0-pre101 31 6/18/2022
1.2.0-pre100 35 2/9/2022
1.2.0-pre00 27 9/4/2022
1.1.0.67 155 10/13/2021
1.1.0.66 41 10/13/2021
1.1.0-pre64 33 10/13/2021
1.1.0-pre63 36 10/11/2021
1.1.0-pre62 37 9/7/2021
1.1.0-pre61 37 7/22/2021
1.1.0-pre60 35 7/22/2021
1.1.0-pre59 36 7/21/2021
1.1.0-pre58 37 7/21/2021
1.1.0-pre57 36 7/13/2021
1.1.0-pre56 137 10/5/2020
1.1.0-pre55 31 10/5/2020
1.1.0-pre54 30 10/5/2020
1.0.0.65 34 10/13/2021
1.0.0.53 121 10/2/2020
1.0.0-pre52 31 10/2/2020
1.0.0-pre50 31 10/2/2020
1.0.0-pre49 31 10/2/2020
1.0.0-pre47 31 10/2/2020
1.0.0-pre43 30 10/2/2020
1.0.0-pre42 42 7/14/2020
1.0.0-pre41 34 7/14/2020
1.0.0-pre39 36 7/12/2020
1.0.0-pre38 32 7/12/2020
1.0.0-pre37 33 7/7/2020
1.0.0-pre36 34 7/7/2020
1.0.0-pre35 34 7/7/2020
1.0.0-pre34 35 6/29/2020
1.0.0-pre33 35 6/23/2020
1.0.0-pre30 37 3/23/2020
1.0.0-pre29 34 3/23/2020
1.0.0-pre28 36 3/23/2020
0.2.0.26 64 3/8/2020
0.1.0.24 36 3/6/2020
0.1.0-pre9 40 3/1/2020
0.1.0-pre8 38 3/1/2020
0.1.0-pre7 35 3/1/2020
0.1.0-pre32 33 6/23/2020
0.1.0-pre21 35 3/6/2020
0.1.0-pre18 35 3/2/2020
0.1.0-pre17 37 3/2/2020
0.1.0-pre16 35 3/2/2020
0.1.0-pre15 41 3/2/2020
0.1.0-pre14 35 3/2/2020
0.1.0-pre13 37 3/2/2020
0.1.0-pre12 36 3/2/2020
0.1.0-pre11 34 3/2/2020
0.1.0-pre10 37 3/2/2020
Show more