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.3.0-pre214 5 11/15/2024
1.3.0-pre213 14 11/13/2024
1.3.0-pre212 6 11/13/2024
1.3.0-pre211 12 11/12/2024
1.3.0-pre210 (current version) 8 11/12/2024
1.3.0-pre209 18 10/20/2024
1.3.0-pre208 5 10/20/2024
1.3.0-pre206 5 10/19/2024
1.3.0-pre195 7 10/17/2024
1.3.0-pre192 4 10/17/2024
1.3.0-pre191 4 10/17/2024
1.3.0-pre190 45 10/9/2024
1.3.0-pre189 14 10/3/2024
1.3.0-pre188 3 10/2/2024
1.3.0-pre187 5 9/27/2024
1.3.0-pre186 4 9/27/2024
1.3.0-pre185 6 9/20/2024
1.3.0-pre184 5 9/20/2024
1.3.0-pre183 3 9/20/2024
1.3.0-pre182 4 9/20/2024
1.3.0-pre181 6 9/19/2024
1.3.0-pre180 7 9/16/2024
1.3.0-pre179 3 9/16/2024
1.3.0-pre178 4 9/13/2024
1.3.0-pre177 6 9/11/2024
1.3.0-pre176 18 9/4/2024
1.3.0-pre175 12 7/26/2024
1.3.0-pre174 6 7/25/2024
1.3.0-pre173 5 7/25/2024
1.3.0-pre172 69 7/22/2024
1.3.0-pre168 628 4/15/2024
1.3.0-pre167 5 4/15/2024
1.3.0-pre166 6 4/15/2024
1.3.0-pre165 5 4/15/2024
1.3.0-pre164 292 3/1/2024
1.3.0-pre163 9 3/1/2024
1.3.0-pre162 236 1/18/2024
1.3.0-pre161 8 1/18/2024
1.3.0-pre160 7 1/18/2024
1.3.0-pre159 18 1/18/2024
1.3.0-pre158 38 1/5/2024
1.3.0-pre157 22 9/28/2023
1.3.0-pre156 112 7/28/2023
1.3.0-pre155 83 7/13/2023
1.3.0-pre154 8 7/13/2023
1.3.0-pre153 9 7/13/2023
1.3.0-pre152 8 7/13/2023
1.3.0-pre151 8 7/13/2023
1.3.0-pre150 9 7/12/2023
1.3.0-pre149 41 4/14/2023
1.3.0-pre148 17 4/14/2023
1.3.0-pre147 11 4/14/2023
1.3.0-pre146 12 4/14/2023
1.3.0-pre145 17 4/14/2023
1.3.0-pre144 40 3/24/2023
1.3.0-pre143 10 3/22/2023
1.3.0-pre142 8 3/22/2023
1.3.0-pre141 9 3/22/2023
1.3.0-pre140 8 3/17/2023
1.3.0-pre139 8 3/17/2023
1.3.0-pre138 8 3/17/2023
1.3.0-pre137 8 3/17/2023
1.3.0-pre136 8 3/17/2023
1.3.0-pre135 8 3/17/2023
1.3.0-pre134 8 3/17/2023
1.3.0-pre133 8 3/17/2023
1.3.0-pre132 8 3/17/2023
1.3.0-pre131 8 3/17/2023
1.3.0-pre130 9 3/17/2023
1.3.0-pre129 9 3/17/2023
1.3.0-pre128 9 3/17/2023
1.3.0-pre127 9 3/17/2023
1.3.0-pre126 5 3/17/2023
1.3.0-pre125 5 3/17/2023
1.3.0-pre124 6 3/16/2023
1.3.0-pre121 6 3/16/2023
1.3.0-pre120 6 3/15/2023
1.3.0-pre119 7 3/15/2023
1.3.0-pre118 6 3/15/2023
1.3.0-pre116 20 11/8/2022
1.3.0-pre115 7 11/8/2022
1.3.0-pre114 14 11/8/2022
1.3.0-pre113 12 11/6/2022
1.3.0-pre112 12 11/4/2022
1.3.0-pre111 11 11/4/2022
1.3.0-pre110 12 11/4/2022
1.3.0-pre109 12 11/4/2022
1.3.0-pre108 14 11/4/2022
1.3.0-pre106 21 11/4/2022
1.2.0.104 681 9/4/2022
1.2.0-pre99 40 2/9/2022
1.2.0-pre98 28 2/9/2022
1.2.0-pre97 65 1/27/2022
1.2.0-pre96 29 1/27/2022
1.2.0-pre95 29 1/27/2022
1.2.0-pre94 31 1/27/2022
1.2.0-pre93 35 1/26/2022
1.2.0-pre92 30 1/26/2022
1.2.0-pre91 29 1/26/2022
1.2.0-pre90 42 1/26/2022
1.2.0-pre89 30 1/26/2022
1.2.0-pre88 31 1/26/2022
1.2.0-pre87 28 1/26/2022
1.2.0-pre86 28 1/26/2022
1.2.0-pre85 28 1/26/2022
1.2.0-pre84 29 1/26/2022
1.2.0-pre83 29 1/26/2022
1.2.0-pre76 69 11/26/2021
1.2.0-pre74 25 11/26/2021
1.2.0-pre73 25 11/26/2021
1.2.0-pre102 21 9/2/2022
1.2.0-pre101 25 6/18/2022
1.2.0-pre100 29 2/9/2022
1.2.0-pre00 20 9/4/2022
1.1.0.67 149 10/13/2021
1.1.0.66 35 10/13/2021
1.1.0-pre64 25 10/13/2021
1.1.0-pre63 29 10/11/2021
1.1.0-pre62 30 9/7/2021
1.1.0-pre61 31 7/22/2021
1.1.0-pre60 28 7/22/2021
1.1.0-pre59 29 7/21/2021
1.1.0-pre58 30 7/21/2021
1.1.0-pre57 30 7/13/2021
1.1.0-pre56 130 10/5/2020
1.1.0-pre55 24 10/5/2020
1.1.0-pre54 24 10/5/2020
1.0.0.65 27 10/13/2021
1.0.0.53 114 10/2/2020
1.0.0-pre52 24 10/2/2020
1.0.0-pre50 24 10/2/2020
1.0.0-pre49 24 10/2/2020
1.0.0-pre47 25 10/2/2020
1.0.0-pre43 24 10/2/2020
1.0.0-pre42 35 7/14/2020
1.0.0-pre41 28 7/14/2020
1.0.0-pre39 29 7/12/2020
1.0.0-pre38 26 7/12/2020
1.0.0-pre37 26 7/7/2020
1.0.0-pre36 27 7/7/2020
1.0.0-pre35 27 7/7/2020
1.0.0-pre34 28 6/29/2020
1.0.0-pre33 27 6/23/2020
1.0.0-pre30 31 3/23/2020
1.0.0-pre29 28 3/23/2020
1.0.0-pre28 30 3/23/2020
0.2.0.26 57 3/8/2020
0.1.0.24 30 3/6/2020
0.1.0-pre9 33 3/1/2020
0.1.0-pre8 31 3/1/2020
0.1.0-pre7 28 3/1/2020
0.1.0-pre32 26 6/23/2020
0.1.0-pre21 28 3/6/2020
0.1.0-pre18 28 3/2/2020
0.1.0-pre17 28 3/2/2020
0.1.0-pre16 28 3/2/2020
0.1.0-pre15 34 3/2/2020
0.1.0-pre14 28 3/2/2020
0.1.0-pre13 28 3/2/2020
0.1.0-pre12 29 3/2/2020
0.1.0-pre11 28 3/2/2020
0.1.0-pre10 30 3/2/2020
Show more