Skip to content

PSScriptTools_v2.46.0

Compare
Choose a tag to compare
@jdhitsolutions jdhitsolutions released this 03 Mar 16:25
· 144 commits to master since this release

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 use System.Collections.Generic.List[] in place of ArrayList.
  • 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 use Get-FolderSizeInfo which is faster than using Get-ChildItem.
  • Modified Get-PSScriptTools to properly return version information.

Added

  • Added function Get-TypeMember with format file pstypemember.format.ps1xml and type extension pstypemember.types.ps1xml. The function has an alias of gtm.
  • Added the parameter MainBranch to Remove-MergedGitBranch to allow the user to specify the name of their main or master branch. The default is master.

Deprecated

  • Marked Out-ConditionalColor and Set-ConsoleColor as deprecated. They will be removed in a future release.