PwSh.Fw.OS

1.3.0-pre185

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-pre185 -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-pre185 -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 Load-Dictionaries Load-Libraries New-OSObject Test-IsOSRoot Test-OSIsOnline

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
### 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 277 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 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 6 10/2/2024
1.3.0-pre187 7 9/27/2024
1.3.0-pre186 7 9/27/2024
1.3.0-pre185 (current version) 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 40 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 7 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 26 11/8/2022
1.3.0-pre115 11 11/8/2022
1.3.0-pre114 20 11/8/2022
1.3.0-pre113 16 11/6/2022
1.3.0-pre112 19 11/4/2022
1.3.0-pre111 18 11/4/2022
1.3.0-pre110 16 11/4/2022
1.3.0-pre109 17 11/4/2022
1.3.0-pre108 19 11/4/2022
1.3.0-pre106 26 11/4/2022
1.2.0.104 882 9/4/2022
1.2.0-pre99 44 2/9/2022
1.2.0-pre98 33 2/9/2022
1.2.0-pre97 69 1/27/2022
1.2.0-pre96 35 1/27/2022
1.2.0-pre95 33 1/27/2022
1.2.0-pre94 35 1/27/2022
1.2.0-pre93 39 1/26/2022
1.2.0-pre92 34 1/26/2022
1.2.0-pre91 34 1/26/2022
1.2.0-pre90 46 1/26/2022
1.2.0-pre89 35 1/26/2022
1.2.0-pre88 36 1/26/2022
1.2.0-pre87 33 1/26/2022
1.2.0-pre86 33 1/26/2022
1.2.0-pre85 33 1/26/2022
1.2.0-pre84 33 1/26/2022
1.2.0-pre83 36 1/26/2022
1.2.0-pre76 73 11/26/2021
1.2.0-pre74 31 11/26/2021
1.2.0-pre73 30 11/26/2021
1.2.0-pre102 26 9/2/2022
1.2.0-pre101 29 6/18/2022
1.2.0-pre100 33 2/9/2022
1.2.0-pre00 25 9/4/2022
1.1.0.67 153 10/13/2021
1.1.0.66 39 10/13/2021
1.1.0-pre64 31 10/13/2021
1.1.0-pre63 34 10/11/2021
1.1.0-pre62 35 9/7/2021
1.1.0-pre61 35 7/22/2021
1.1.0-pre60 33 7/22/2021
1.1.0-pre59 34 7/21/2021
1.1.0-pre58 35 7/21/2021
1.1.0-pre57 34 7/13/2021
1.1.0-pre56 135 10/5/2020
1.1.0-pre55 29 10/5/2020
1.1.0-pre54 28 10/5/2020
1.0.0.65 32 10/13/2021
1.0.0.53 119 10/2/2020
1.0.0-pre52 29 10/2/2020
1.0.0-pre50 29 10/2/2020
1.0.0-pre49 29 10/2/2020
1.0.0-pre47 29 10/2/2020
1.0.0-pre43 28 10/2/2020
1.0.0-pre42 40 7/14/2020
1.0.0-pre41 32 7/14/2020
1.0.0-pre39 34 7/12/2020
1.0.0-pre38 30 7/12/2020
1.0.0-pre37 31 7/7/2020
1.0.0-pre36 32 7/7/2020
1.0.0-pre35 32 7/7/2020
1.0.0-pre34 33 6/29/2020
1.0.0-pre33 32 6/23/2020
1.0.0-pre30 35 3/23/2020
1.0.0-pre29 32 3/23/2020
1.0.0-pre28 34 3/23/2020
0.2.0.26 62 3/8/2020
0.1.0.24 34 3/6/2020
0.1.0-pre9 38 3/1/2020
0.1.0-pre8 36 3/1/2020
0.1.0-pre7 33 3/1/2020
0.1.0-pre32 31 6/23/2020
0.1.0-pre21 33 3/6/2020
0.1.0-pre18 33 3/2/2020
0.1.0-pre17 35 3/2/2020
0.1.0-pre16 33 3/2/2020
0.1.0-pre15 39 3/2/2020
0.1.0-pre14 33 3/2/2020
0.1.0-pre13 35 3/2/2020
0.1.0-pre12 34 3/2/2020
0.1.0-pre11 32 3/2/2020
0.1.0-pre10 35 3/2/2020
Show less