PwSh.Fw.Core
1.6.0-pre173
Root module of a simple Powershell Framework. It is specialized in writing system scripts, but it can of course do more.
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2020 Charles-Antoine Degennes. All rights reserved.
Package Details
Author(s)
- Charles-Antoine Degennes
Tags
Windows Linux MacOS PwSh.Fw core
Functions
Add-PSModulePath ConvertFrom-ConfigFile ConvertFrom-Plist ConvertFrom-Xml Convert-Size ConvertTo-CamelCase ConvertTo-PSCustomObject ConvertTo-SingleString Execute-Command Get-CustomObjectProperties Get-ObjectProperties Get-PropertyValueFromFile Get-ReturnCodeColor Get-ReturnCodeId Get-ReturnCodeString Get-ValidValuesFromPath Load-Module Merge-Hashtables Merge-Object New-TemplateFunction Read-PlistNode Remove-StringLatinCharacters Reset-Indent Resize-Image Resolve-Boolean Resolve-PathExtended Set-Indent 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-MyDebug Write-MyError Write-MyVerbose Write-MyWarning Write-Outdent Write-Question Write-ReturnCode Write-Title Write-ToLogFile Write-Verbose Write-Warning
PSEditions
Dependencies
This module has no dependencies.
Release Notes
## [unreleased]
### Added
- :scroll: `Get-ValidValuesFromPath`. It is a helper function to be used in `ArgumentCompleter` parameter definition. See `Get-Help Get-ValidValuesFromPath -full`.
- :package:`PwSh.Fw.Image`: new module -> :scroll: `Resize-Image` function.
- :package:`PwSh.Fw.Error`: new module to register common return codes, their meaning and their default color
- :package:`PwSh.Fw.Write` - :scroll: `Write-ReturnCode` to properly display a return code. User can choose to display it at the beginning or end of the line by setting default with `Set-ReturnCodePosition` or by overriding default with `-Position` parameter
- if all goes well, `Write-End` will be a wrapper for `Write-ReturnCode -Position END` for the next version (if I remember to do it)
- new :package:`PwSh.Fw.Path`. Functions :scroll: `Test-FileExist` and :scroll: `TEst-DirExist` moved there.
- :package:`PwSh.Fw.Path` : new :scroll: `Resolve-PathExtended` and :scroll: `Test-IsUNCPath` functions.
- :scroll: new `Write-Question` is a wrapper for Read-Host and add DefaultValue capability.
### Changed
- :scroll: `Write-My*` functions renamed to `Write-*` thus overriding Powershell default ones. e.g. `Write-MyWarning` -> `Write-Warning`. Aliases are created but are already considered obsoletes.
- :scroll: `ConvertFrom-ConfigFile` read yaml/yml files
- :scroll: `Add-PSModulePath` use `[Environment]::GetEnvironmentVariable()` and `[Environment]::SetEnvironmentVariable()`
### Deprecated
- `Write-My*` aliases to keep old behavior are deprecated
### Removed
- :scroll: `Write-My*` functions have been replaced by `Write-*` functions, overriding Powershell natives ones (like `Write-Warning`)
### Fixed
### Security
FileList
- PwSh.Fw.Core.nuspec
- PwSh.Fw.Core.psd1
- PwSh.Fw.Core.psm1
- Includes\PwSh.Fw.Error.psd1
- Includes\PwSh.Fw.Error.psm1
- Includes\PwSh.Fw.Image.psd1
- Includes\PwSh.Fw.Image.psm1
- Includes\PwSh.Fw.Maths.psd1
- Includes\PwSh.Fw.Maths.psm1
- Includes\PwSh.Fw.Object.psd1
- Includes\PwSh.Fw.Object.psm1
- Includes\PwSh.Fw.Write.psd1
- Includes\PwSh.Fw.Write.psm1
- Includes\PwSh.Path.psd1
- Includes\PwSh.Path.psm1
- scripts\skel.ps1
- scripts\update-script.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.11.5.315 | 7,323 | 10/9/2024 |
1.11.4.312 | 291 | 10/1/2024 |
1.11.3.309 | 5 | 10/1/2024 |
1.11.0.300 | 38 | 9/30/2024 |
1.11.0-pre296 | 33 | 9/20/2024 |
1.11.0-pre295 | 56 | 9/11/2024 |
1.11.0-pre294 | 7 | 9/10/2024 |
1.11.0-pre293 | 65 | 7/26/2024 |
1.11.0-pre292 | 770 | 4/19/2024 |
1.11.0-pre291 | 4 | 4/19/2024 |
1.11.0-pre290 | 6 | 4/19/2024 |
1.11.0-pre289 | 39 | 4/18/2024 |
1.11.0-pre288 | 12 | 4/18/2024 |
1.11.0-pre287 | 24 | 4/18/2024 |
1.11.0-pre286 | 7 | 4/18/2024 |
1.11.0-pre285 | 7 | 4/18/2024 |
1.11.0-pre284 | 15 | 4/17/2024 |
1.11.0-pre283 | 3 | 4/17/2024 |
1.11.0-pre282 | 632 | 1/19/2024 |
1.11.0-pre281 | 5 | 1/19/2024 |
1.11.0-pre280 | 104 | 10/11/2023 |
1.11.0-pre279 | 13 | 10/4/2023 |
1.11.0-pre278 | 88 | 9/8/2023 |
1.11.0-pre277 | 45 | 9/7/2023 |
1.11.0-pre276 | 44 | 7/27/2023 |
1.11.0-pre275 | 16 | 7/27/2023 |
1.11.0-pre274 | 7 | 7/27/2023 |
1.11.0-pre273 | 23 | 7/26/2023 |
1.10.2.271 | 58,338 | 7/13/2023 |
1.10.2-pre269 | 19 | 7/13/2023 |
1.10.1.266 | 547 | 5/25/2023 |
1.10.1.253 | 1,801 | 10/28/2022 |
1.10.0.263 | 6 | 5/25/2023 |
1.10.0-pre261 | 5 | 5/23/2023 |
1.10.0-pre243 | 24 | 9/28/2022 |
1.10.0-pre242 | 15 | 9/28/2022 |
1.10.0-pre241 | 18 | 9/28/2022 |
1.10.0-pre240 | 15 | 9/28/2022 |
1.10.0-pre238 | 15 | 9/28/2022 |
1.9.3-pre251 | 12 | 10/28/2022 |
1.9.2.248 | 64 | 9/28/2022 |
1.9.1.230 | 263 | 8/30/2022 |
1.9.0-pre222 | 836 | 10/13/2021 |
1.8.1.220 | 1,795 | 10/7/2021 |
1.8.0-pre212 | 29 | 10/6/2021 |
1.8.0-pre211 | 26 | 10/4/2021 |
1.8.0-pre210 | 34 | 9/22/2021 |
1.8.0-pre209 | 80 | 9/10/2021 |
1.8.0-pre208 | 50 | 9/1/2021 |
1.8.0-pre207 | 45 | 7/23/2021 |
1.8.0-pre206 | 30 | 7/23/2021 |
1.8.0-pre205 | 26 | 7/23/2021 |
1.8.0-pre204 | 25 | 7/21/2021 |
1.8.0-pre203 | 29 | 7/13/2021 |
1.8.0-pre199 | 84 | 6/7/2021 |
1.8.0-pre198 | 66 | 5/12/2021 |
1.7.2.202 | 764 | 6/9/2021 |
1.7.2-pre201 | 24 | 6/9/2021 |
1.7.2-pre200 | 24 | 6/9/2021 |
1.7.1.197 | 1,085 | 3/31/2021 |
1.7.1-pre196 | 26 | 3/31/2021 |
1.7.1-pre195 | 26 | 3/31/2021 |
1.7.0.194 | 72 | 3/31/2021 |
1.7.0-pre193 | 26 | 3/31/2021 |
1.7.0-pre192 | 27 | 3/31/2021 |
1.7.0-pre191 | 42 | 3/30/2021 |
1.7.0-pre190 | 28 | 3/30/2021 |
1.7.0-pre189 | 117 | 3/23/2021 |
1.7.0-pre188 | 286 | 3/9/2021 |
1.6.2.187 | 593 | 3/9/2021 |
1.6.2-pre186 | 28 | 3/9/2021 |
1.6.2-pre185 | 27 | 3/9/2021 |
1.6.2-pre183 | 27 | 3/9/2021 |
1.6.1.182 | 395 | 3/8/2021 |
1.6.1-pre181 | 27 | 3/8/2021 |
1.6.1-pre180 | 27 | 3/8/2021 |
1.6.1-pre179 | 68 | 3/5/2021 |
1.6.1-pre178 | 62 | 3/5/2021 |
1.6.1-pre177 | 37 | 3/5/2021 |
1.6.0.176 | 214 | 3/5/2021 |
1.6.0-pre175 | 28 | 3/5/2021 |
1.6.0-pre174 | 34 | 3/5/2021 |
1.6.0-pre173 (current version) | 53 | 3/4/2021 |
1.6.0-pre172 | 27 | 3/4/2021 |
1.6.0-pre171 | 104 | 3/2/2021 |
1.6.0-pre170 | 70 | 2/25/2021 |
1.6.0-pre169 | 33 | 2/25/2021 |
1.6.0-pre168 | 49 | 2/23/2021 |
1.6.0-pre167 | 25 | 2/23/2021 |
1.6.0-pre166 | 41 | 2/22/2021 |
1.5.5.164 | 1,118 | 12/2/2020 |
1.5.5-pre161 | 294 | 6/30/2020 |
1.5.5-pre160 | 57 | 6/29/2020 |
1.5.4.159 | 1,452 | 6/15/2020 |
1.5.4-pre158 | 25 | 6/15/2020 |
1.5.4-pre157 | 25 | 6/15/2020 |
1.5.3.156 | 55 | 6/15/2020 |
1.5.3-pre155 | 25 | 6/15/2020 |
1.5.3-pre151 | 25 | 6/15/2020 |
1.5.2-pre152 | 25 | 6/15/2020 |
1.5.2-pre150 | 25 | 6/15/2020 |
1.5.0.139 | 310 | 6/10/2020 |
1.5.0-pre137 | 84 | 6/4/2020 |
1.5.0-pre136 | 26 | 6/4/2020 |
1.5.0-pre131 | 40 | 6/3/2020 |
1.4.1.134 | 142 | 6/4/2020 |
1.4.1-pre143 | 25 | 6/10/2020 |
1.4.0.130 | 330 | 4/30/2020 |
1.4.0-pre142 | 26 | 6/10/2020 |
1.4.0-pre129 | 28 | 4/30/2020 |
1.4.0-pre128 | 32 | 4/30/2020 |
1.4.0-pre127 | 72 | 4/24/2020 |
1.4.0-pre126 | 31 | 4/22/2020 |
1.4.0-pre125 | 80 | 4/17/2020 |
1.4.0-pre124 | 65 | 4/12/2020 |
1.3.0.122 | 850 | 4/9/2020 |
1.3.0-pre140 | 25 | 6/10/2020 |
1.3.0-pre123 | 31 | 4/9/2020 |
1.3.0-pre121 | 31 | 4/9/2020 |
1.3.0-pre109 | 47 | 3/8/2020 |
1.2.0.107 | 269 | 2/29/2020 |
1.2.0-pre85 | 29 | 2/19/2020 |
1.2.0-pre105 | 27 | 2/29/2020 |
1.1.0.68 | 35 | 2/13/2020 |
1.1.0-pre83 | 27 | 2/18/2020 |
1.1.0-pre82 | 28 | 2/17/2020 |
1.1.0-pre69 | 27 | 2/13/2020 |
1.0.1 | 30 | 2/10/2020 |
0.0.0.28 | 37 | 1/20/2020 |
0.0.0.27 | 30 | 1/20/2020 |
0.0.0.26 | 30 | 1/20/2020 |