PwSh.Fw.OS

1.3.0-pre210

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.3.0-pre210 -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.3.0-pre210 -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 <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-Dictionaries Load-Libraries 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
- `OS.Windows`: new `Get-OSPackages` function. It read installed packages from the registry uninstall keys
- `Dict.Windows`: support BCD
- `OS.Linux.Linux.Debian`: override `Get-OSReleaseID` to handle `sid` rolling-release version
- `OS.Linux.Linux.Debian`: override `Get-OSLongCodeName` to handle `sid` rolling-release version
- Possibility to load custom libraries, like dictionaries, specifying a prefix and a path
- Add a cache for currently running os with `Get-OperatingSystem -Online`. Use `-Force` to force OS detection again
- `Expand-CabinetArchive` function for Windows and Linux
- new `PwSh.Fw.Write` module dedicated to `PwSh.Fw.OS` to enable different logging level. Use `Get-PwShFwOSEnv` and `Set-PwShFwOSEnv` to enable or disable debugging
### Changed
- rename Libraries resources to `Lib.$os.$attributes`
- rearrange Libraries hierarchy and loading order
- rearrange Dictionaries hierarchy and loading order
### Deprecated
### Removed
- `Get-OperatingSystem` do no longer return OS packages. Use not-yet-available `Get-OSPackages`
### Fixed
- `Dict.Windows`: `Save-NewOfflineWindowsRegistryMountPoint` now correctly save which registry hive is mounted where
- `Dict.Windows`: `Set-BCDBootSequence` use stop parsing method
- `Platform`: fixed `Get-OSRoot -Path` on linux... well... fixed all Trim() calls on `$Root`
- calls to `OS.WinNT\` functions to `OS.Windows` functions
### Security

FileList

Version History

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