PwSh.Fw.Core

2.0.0

Root module of a simple Powershell Framework. It is specialized in writing system scripts, but it can of course do more.

Installation Options

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

Install-Module -Name PwSh.Fw.Core

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

Install-PSResource -Name PwSh.Fw.Core

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. All rights reserved.

Package Details

Author(s)

  • Charles-Antoine Degennes

Tags

Windows Linux MacOS PwSh.Fw core

Functions

Add-PSModulePath Add-ToLogFile Convert-Size ConvertFrom-Base64 ConvertFrom-ConfigFile ConvertFrom-Plist ConvertFrom-Xml ConvertTo-Base64 ConvertTo-BashArray ConvertTo-BashAssociativeArray ConvertTo-BashCustomObject ConvertTo-BashHashtable ConvertTo-BashVariable ConvertTo-CamelCase ConvertTo-Hashtable ConvertTo-LinuxShellData ConvertTo-PascalCase ConvertTo-PSCustomObject ConvertTo-SingleString ConvertTo-StringData ConvertTo-UnixStylePath ConvertTo-WindowsStylePath Escape-BashString Execute-Command Get-CustomObjectProperties Get-ObjectProperties Get-PropertyValueFromFile Get-PSModulePath Get-PwShFwConfiguration Get-PwShFwDisplayConfiguration Get-PwShFwWriteConfiguration Get-RawItemPropertyValue Get-ReturnCodeColor Get-ReturnCodeId Get-ReturnCodeString Get-ValidValuesFromPath Install-OrUpdateModule Load-Module Load-PwShFwDisplayConfiguration Merge-Hashtables Merge-Object New-TemplateFunction Read-PlistNode Remove-StringLatinCharacters Reset-Indent Reset-PwShFwConfiguration Reset-PwShFwDisplayConfiguration Resize-Image Resolve-Boolean Resolve-PathExtended Sanitize-VariableName Set-Indent Set-PwShFwConfiguration Set-PwShFwDisplayConfiguration Set-ReturnCodePosition Sort-ByProperties Sort-HashTable Test-DirExist Test-FileExist Test-IsUNCPath Test-RegKeyExist Test-RegValueExist Test-Variable Write-Add Write-Begin Write-Debug Write-Devel Write-End Write-Enter Write-EnterFunction Write-Error Write-Fatal Write-Indent Write-Info Write-Leave Write-LeaveFunction Write-LineBreak Write-Message Write-MyDebug Write-MyError Write-MyVerbose Write-MyWarning Write-Object Write-Outdent Write-Question Write-ReturnCode Write-Success Write-Title Write-Todo Write-ToLogFile Write-Verbose Write-Warning

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

## [2.0.0] - 2026-12-04
### Added
- New function `Write-Success` with customized decoration
- `scripts/99_update_wiki.ps1` + `docs_job` : wiki sync on release tags (platyPS references pushed to the project wiki)
### Changed
- Centralized global state into `$Global:PwShFwState` container in `PwSh.Fw.Core` module. All framework-wide configuration (INFO, VERBOSE, DEBUG, DEVEL, TRACE, ASK, QUIET, LOG) is now stored in a single script-scoped object instead of scattered `$Global:*` variables. This is a non-breaking internal change.
### Deprecated
- `PwSh.Fw.Core` support for PowerShell < 7.0 (Windows PowerShell 5.1) is deprecated; version 3.0 will require PowerShell 7.0+. A one-time warning is emitted at import on affected engines; pin `PwSh.Fw.Core` 2.x on older engines
### Removed
- `scripts/99_make_help.ps1` (replaced by `scripts/99_update_wiki.ps1`)
### Fixed
- `PwSh.Fw.Core` `Write-Error` now always delegates to the builtin `Microsoft.PowerShell.Utility\Write-Error` (native display suppressed) so ErrorRecord, `$Error`, `$ErrorActionPreference` and `-ErrorAction` semantics are preserved; `ErrorRecord` parameter type fixed (`ErrorCategory` → `ErrorRecord`) and parameter positions aligned with the native signature
### Security

FileList

Version History

Version Downloads Last updated
2.0.0 (current version) 330 12/4/2026
2.0.0-pre395 463 10/15/2026
2.0.0-pre394 21 10/15/2026
2.0.0-pre391 263 6/30/2026
2.0.0-pre390 15 6/30/2026
2.0.0-pre389 15 6/30/2026
2.0.0-pre388 7 6/29/2026
1.13.0-pre377 516 3/30/2026
1.13.0-pre376 3 3/27/2026
1.13.0-pre344 1,072 9/16/2025
1.12.6 5,278 1/22/2026
1.12.1 5,699 6/27/2025
1.12.0 79 6/20/2025
1.11.8-pre332 20 6/4/2025
1.11.5.315 9,765 10/9/2024
1.11.4.312 294 10/1/2024
1.11.3.309 8 10/1/2024
1.11.0.300 41 9/30/2024
1.11.0-pre296 37 9/20/2024
1.11.0-pre295 62 9/11/2024
1.11.0-pre294 14 9/10/2024
1.11.0-pre293 68 7/26/2024
1.11.0-pre292 773 4/19/2024
1.11.0-pre291 7 4/19/2024
1.11.0-pre290 11 4/19/2024
1.11.0-pre289 42 4/18/2024
1.11.0-pre288 15 4/18/2024
1.11.0-pre287 28 4/18/2024
1.11.0-pre286 10 4/18/2024
1.11.0-pre285 10 4/18/2024
1.11.0-pre284 17 4/17/2024
1.11.0-pre283 6 4/17/2024
1.11.0-pre282 635 1/19/2024
1.11.0-pre281 9 1/19/2024
1.11.0-pre280 109 10/11/2023
1.11.0-pre279 16 10/4/2023
1.11.0-pre278 92 9/8/2023
1.11.0-pre277 47 9/7/2023
1.11.0-pre276 47 7/27/2023
1.11.0-pre275 21 7/27/2023
1.11.0-pre274 10 7/27/2023
1.11.0-pre273 26 7/26/2023
1.10.2.271 58,341 7/13/2023
1.10.2-pre269 22 7/13/2023
1.10.1.266 552 5/25/2023
1.10.1.253 1,810 10/28/2022
1.10.0.263 9 5/25/2023
1.10.0-pre261 8 5/23/2023
1.10.0-pre243 34 9/28/2022
1.10.0-pre242 23 9/28/2022
1.10.0-pre241 27 9/28/2022
1.10.0-pre240 24 9/28/2022
1.10.0-pre238 27 9/28/2022
1.9.3-pre251 23 10/28/2022
1.9.2.248 74 9/28/2022
1.9.1.230 272 8/30/2022
1.9.0-pre222 845 10/13/2021
1.8.1.220 1,804 10/7/2021
1.8.0-pre212 39 10/6/2021
1.8.0-pre211 36 10/4/2021
1.8.0-pre210 44 9/22/2021
1.8.0-pre209 90 9/10/2021
1.8.0-pre208 59 9/1/2021
1.8.0-pre207 55 7/23/2021
1.8.0-pre206 39 7/23/2021
1.8.0-pre205 36 7/23/2021
1.8.0-pre204 34 7/21/2021
1.8.0-pre203 39 7/13/2021
1.8.0-pre199 92 6/7/2021
1.8.0-pre198 74 5/12/2021
1.7.2.202 772 6/9/2021
1.7.2-pre201 37 6/9/2021
1.7.2-pre200 33 6/9/2021
1.7.1.197 1,093 3/31/2021
1.7.1-pre196 35 3/31/2021
1.7.1-pre195 36 3/31/2021
1.7.0.194 83 3/31/2021
1.7.0-pre193 36 3/31/2021
1.7.0-pre192 35 3/31/2021
1.7.0-pre191 51 3/30/2021
1.7.0-pre190 40 3/30/2021
1.7.0-pre189 126 3/23/2021
1.7.0-pre188 294 3/9/2021
1.6.2.187 601 3/9/2021
1.6.2-pre186 37 3/9/2021
1.6.2-pre185 40 3/9/2021
1.6.2-pre183 35 3/9/2021
1.6.1.182 406 3/8/2021
1.6.1-pre181 39 3/8/2021
1.6.1-pre180 37 3/8/2021
1.6.1-pre179 77 3/5/2021
1.6.1-pre178 71 3/5/2021
1.6.1-pre177 47 3/5/2021
1.6.0.176 223 3/5/2021
1.6.0-pre175 37 3/5/2021
1.6.0-pre174 44 3/5/2021
1.6.0-pre173 62 3/4/2021
1.6.0-pre172 36 3/4/2021
1.6.0-pre171 113 3/2/2021
1.6.0-pre170 79 2/25/2021
1.6.0-pre169 42 2/25/2021
1.6.0-pre168 59 2/23/2021
1.6.0-pre167 34 2/23/2021
1.6.0-pre166 50 2/22/2021
1.5.5.164 1,130 12/2/2020
1.5.5-pre161 303 6/30/2020
1.5.5-pre160 67 6/29/2020
1.5.4.159 1,460 6/15/2020
1.5.4-pre158 34 6/15/2020
1.5.4-pre157 35 6/15/2020
1.5.3.156 64 6/15/2020
1.5.3-pre155 33 6/15/2020
1.5.3-pre151 37 6/15/2020
1.5.2-pre152 35 6/15/2020
1.5.2-pre150 36 6/15/2020
1.5.0.139 319 6/10/2020
1.5.0-pre137 93 6/4/2020
1.5.0-pre136 35 6/4/2020
1.5.0-pre131 49 6/3/2020
1.4.1.134 155 6/4/2020
1.4.1-pre143 33 6/10/2020
1.4.0.130 338 4/30/2020
1.4.0-pre142 35 6/10/2020
1.4.0-pre129 38 4/30/2020
1.4.0-pre128 41 4/30/2020
1.4.0-pre127 81 4/24/2020
1.4.0-pre126 40 4/22/2020
1.4.0-pre125 89 4/17/2020
1.4.0-pre124 78 4/12/2020
1.3.0.122 858 4/9/2020
1.3.0-pre140 34 6/10/2020
1.3.0-pre123 40 4/9/2020
1.3.0-pre121 39 4/9/2020
1.3.0-pre109 57 3/8/2020
1.2.0.107 280 2/29/2020
1.2.0-pre85 39 2/19/2020
1.2.0-pre105 37 2/29/2020
1.1.0.68 44 2/13/2020
1.1.0-pre83 36 2/18/2020
1.1.0-pre82 37 2/17/2020
1.1.0-pre69 36 2/13/2020
1.0.1 41 2/10/2020
0.0.0.28 45 1/20/2020
0.0.0.27 38 1/20/2020
0.0.0.26 39 1/20/2020
Show more