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.