github jdhitsolutions/PSScriptTools v2.46.0
PSScriptTools_v2.46.0

latest releases: v2.50.0, v2.49.0, v2.48.0...
20 months ago

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.

Don't miss a new PSScriptTools release

NewReleases is sending notifications on new releases.