Releases: jdhitsolutions/PSScriptTools
Releases · jdhitsolutions/PSScriptTools
PSScriptTools_v2.50.0
Change Log for PSScriptTools
v2.50.0 - 2024-07-13 10:34:18
Added
- Added an argument completer for the
Name
parameter ofShow-FunctionItem
. - Added a new
Property
parameter toGet-PSUnique
to allow the user to specify a property or properties to use for comparison. The command will also display a warning if a comparison can't be made. Issue #150
Changed
- Ongoing and general code cleanup.
- Removed previously deprecated commands
Set-ConsoleColor
andOut-ConditionalColor
. - Changed
Get-PSScriptTools to use saved data from a JSON file instead of building the data from
Get-Command,
Get-Alias, and
Get-Help`. This also fixes display problems with the Synopsis property in Linux. - Changed
Write-ANSIProgress
by adding a parameter to write to the host and not the pipeline. - Updated
README
.
Fixed
- Removed obsolete comment-based help for
New-PSDynamicParameter
.
PSScriptTools_v2.49.0
Change Log for PSScriptTools
v2.49.0 - 2024-06-06 13:44:28
Added
- Modified
ConvertTo-Markdown
to useProperty
andValue
headings when converting to a list. - Added CimMember functions
Get-CimNamespace
,Get-CimClassMethod
,Get-CimClassProperty
,Get-CimClassPropertyQualifier
,Get-CimClassName
andGet-CimMember
. (Issue #137) - Added custom formatting for
Get-CimClassName
. - Added the module
ThreadJob
as a module dependency to the manifest.
Changed
- Modified module manifest to remove version logic on function export. Now exporting everything. If there is an OS limitation, try to handle it on a per-command basis. This may be a breaking change.
- Changed PDF manual theme from
github
togithub.dark
. - Changed PDF manual theme from
github
togithub.dark
. - Updated
Get-ParameterInfo
to recognizeProgressAction
as a common parameter. This parameter was add in PowerShell 7. - Updated the default table view for output from
Get-ModuleCommand
to include the module version number. - Modified
Show-Tree
to better handle multi-string and binary values in the registry. - Modified
Show-Tree
to usePSStyle.FileInfo
for color information if detected. (Issue #147) - Updated
README.md
- Revised
Get-FolderSizeInfo
to be more consistent between PowerShell versions. The command will skip counting all reparse points. This may be a breaking change. (Issue #145) - Re-wrote
Find-CimClass
to useCimSession
. - Revised
Get-ParameterInfo
to sort output by default using ParameterSet,Position, and Name - Help updates.
Fixed
- Revised
Get-WindowsVersion
to handle non-English cultures. (Issue #142) - Fixed bug in
Convert-EventLogRecord
that failed on duplicate property nameID
. (Issue #143)
PSScriptTools_v2.48.0
PSScriptTools
v2.48.0
Added
- Added parameter
ProviderName
toGet-CommandSyntax to let the user specify a provider.
Issue #139
Changed
- Modified
Get-ParameterInfo
to sort output by parameter set. Issue #138 - Modified the format file for
psparameterinfo
objects to use a table as the default. - Added
EnumOnly
parameter toGet-TypeMember
Issue #135 - Help updates
PSScriptTools_v2.47.0
PSScriptTools
v2.47.0
Changed
- Added missing online help links.
- Updated module description in the manifest.
- Added
EnableLN
parameter alias toGet-FolderSizeInfo
. - Help updates.
- Update
Get-TypeMember
to identify properties that are enumerations. - Updated format file for
Get-TypeMember
to highlight enum properties. - Updated
README.md
.
v2.46.0
Changed
- General code cleanup and formatting.
- Modified module to only load ANSI file format features if PSStyle is not detected.
- Modified
psparameterinfo.format.ps1xml
to highlight True values with an ANSI highlight color. - Modified
Get-FolderSizeInfo
to useSystem.Collections.Generic.List[]
in place ofArrayList
. - Modified back-end processing for the help PDF file to reduce its size.
- Help updates.
- Restored header to
Get-PSScriptTools
. - Revised Changelog layout.
- Updated
README.md
.
Fixed
- Fixed a bug in
Get-GitSize
that was failing to get hidden items in the.git
folders. Also modified the command to useGet-FolderSizeInfo
which is faster than usingGet-ChildItem
. - Modified
Get-PSScriptTools
to properly return version information.
Added
- Added function
Get-TypeMember
with format filepstypemember.format.ps1xml
and type extensionpstypemember.types.ps1xml
. The function has an alias ofgtm
. - Added the parameter
MainBranch
toRemove-MergedGitBranch
to allow the user to specify the name of their main or master branch. The default ismaster
.
Deprecated
- Marked
Out-ConditionalColor
andSet-ConsoleColor
as deprecated. They will be removed in a future release.
PSScriptTools_v2.46.0
PSScriptTools
v2.46.0
Changed
- General code cleanup and formatting.
- Modified module to only load ANSI file format features if PSStyle is not detected.
- Modified
psparameterinfo.format.ps1xml
to highlight True values with an ANSI highlight color. - Modified
Get-FolderSizeInfo
to useSystem.Collections.Generic.List[]
in place ofArrayList
. - Modified back-end processing for the help PDF file to reduce its size.
- Help updates.
- Restored header to
Get-PSScriptTools
. - Revised Changelog layout.
- Updated
README.md
.
Fixed
- Fixed a bug in
Get-GitSize
that was failing to get hidden items in the.git
folders. Also modified the command to useGet-FolderSizeInfo
which is faster than usingGet-ChildItem
. - Modified
Get-PSScriptTools
to properly return version information.
Added
- Added function
Get-TypeMember
with format filepstypemember.format.ps1xml
and type extensionpstypemember.types.ps1xml
. The function has an alias ofgtm
. - Added the parameter
MainBranch
toRemove-MergedGitBranch
to allow the user to specify the name of their main or master branch. The default ismaster
.
Deprecated
- Marked
Out-ConditionalColor
andSet-ConsoleColor
as deprecated. They will be removed in a future release.
PSScriptTools_v2.45.0
PSScriptTools
v2.45.0
- Fixed help typo for
Get-PSUnique
PR 133. Thank you @fiala-sns. - Updated
Get-WindowsVersion
to inlcudeDisplayVersion
, e.g.22H2
. - Modified format file
windowsversion.format.ps1xml
to replaceReleaseID
with theDisplayVersion
value. - Revised
Get-WindowsVersion
to usesysteminfo
to retrieve the operating system name and if that fails, fall back to using the registry entry. The registry entry for Windows 11 typically still shows Windows 10. - Help updates.
- Updated
README.md
.
PSScriptTools_v2.44.0
PSScriptTools
v2.44.0
- Updated
Show-ANSISequence
to fix a bug where foreground samples where included when specifying background. Issue #130 - Updated contributing guidelines.
- Updated
README.md
.
PSScriptTools_v2.43.0
PSScriptTools
v2.43.0
- Fixed VSCode snippets to run in a PowerShell 7 integrated console. Issue #124
- Updated
Show-AnsiSequence
to fix a display bug that was dropping values. Issue #125 - Removed
ConvertTo-ASCIIArt
as the online resource no longer appears to exist. Issue #127 - Updated missing online help links.
- Updated
Get-FoldersizeInfo
to better handle null values. Issue #129 - Added new sample script
today.ps1
. - Help updates.
- Updated
README.md
.
PSScriptTools_v2.42.0
PSScriptTools
v2.42.0
- Updated module manifest to load required .NET assembly for
Convert-HTMLtoAnsi
. Issue #124 - Updated
Show-AnsiSequence
to fix a display bug that was dropping values. Issue #125 - Updated missing online help links.
- Added new sample script
today.ps1
. - Help updates.
- Updated
README.md
.
PSScriptTools_v2.41.0
PSScriptTools
v2.41.0
- Added function
Copy-CommandHistory
with an alias ofch
. - Updated
Out-Copy
to ignore ANSI unless specified. Issue #118 - Added an alias of
oc
forOut-Copy
. - Updated
New-PSFormatXML
to fix ReadOnly property error. Issue #121 - Updated
Get-ModuleCommand
to include version information and to accept pipeline input. - Updated
modulecommand.format.ps1xml
with a new table view calledversion
. - Updated missing online help links.
- Updated
README.md
.