Skip to content

Releases: jdhitsolutions/PSScriptTools

PSScriptTools_v2.25.0

29 May 14:15
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.25.0

Add

  • Added a set of ANSI mappings for temporary files and system files in psansifilemap.json.
  • Added additional file extensions to psansifilemap.json.
  • Added pointers, section sign, and black rectangle to PSSpecialChars hashtable.

Change

  • Modified Show-Tree to make the InColor parameter always available. (Issue #80)
  • Modified Add-Border to use ANSI escape codes that will work in both Windows PowerShell and PowerShell 7.
  • Updated New-PSFormatXML to better handle empty or null property values. (Issue #81)
  • Help Updates

PSScriptTools_v2.24.0

21 May 20:17
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.24.0

Add

  • Added parameter alias of tb for -TextBlock in Add-Border.
  • Added parameter alias of border for -Character in Add-Border.
  • Added New-ANSIBar command.
  • Added New-RedGreenGradient command.
  • Added Write-ANSIProgress command with an alias of wap.
  • Defined a global variable called $PSSpecialChar which is a hash table select special characters you might want to use with Add-Border or New-AnsiBar.
  • Added a table view to modulecommand.format.ps1xml and made it the default.
  • Added a new table view called verb to modulecommand.format.ps1xml.
  • Added Get-PathVariable with its own custom format file. (Issue #74)
  • Added sample script Get-Status.ps1.
  • Added global variable $PSSamplePath to point to the sample script location

Change

  • Modified Add-Border to adjust line length when ANSI escapes are part of the text. (Issue #79)
  • Modified Get-PSWho to trim when using -AsString.
  • Fixed bug in New-PSFormatXML what was writing an XML element to the pipeline when using -Wrap.
  • Updated Get-ModuleCommand output to include the module name.
  • Updated serviceansi.format.ps1xml and filesystem-ansi.format.ps1xml to use an escape sequence available to both Windows PowerShell and PowerShell 7.
  • Fixed wrong type name in serviceansi.format.ps1xml.
  • Help updates.
  • Updated sample scripts.
  • Updated README.md.

Delete

  • Removed duplicate line of code in New-PSFormatXML.

PSScriptTools_v2.23.0

14 May 18:55
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.23.0

  • Updated New-PSFormatXML to include an option to wrap tables. (Issue #78)
  • Updated Add-Border to include parameters to specify an ANSI sequence for the border and one for the text.
  • Revised Add-Border to better support inserting blank lines.
  • Updated README.md

PSScriptTools_v2.22.0

17 Apr 13:26
Compare
Choose a tag to compare

ChangeLog for PSScriptTools

v2.22.0

  • Modified Set-ConsoleTitle to move parameter validation into the Process script block. (Issue #75)
  • Modified Get-FolderSizeInfo to fix an enumeration bug when used in Windows PowerShell. (Issue #77)
  • Added online help links for Get-GitSize, Get-ModuleCommand and Remove-MergedBranch.
  • Updated foldersizeinfo.format.ps1xml to include a view called TB to display values in TB.

PSScriptTools_v2.21.0

12 Mar 15:31
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.21.0

  • Updated Set-ConsoleTitle and Set-ConsoleColor to display a warning if not in a console session. (Issue #75)
  • Added Get-GitSize and format file gitsize.format.ps1xml
  • Added a default ANSI color map file psansimap.json.
  • Modified module to use a copy of psansimap.json in $HOME if detected. Otherwise, use the module's version.
  • Create a global variable called PSAnsiFileMap from importing the psansimap.json file.
  • Updated Show-Tree to use an ansi color map. (Issue #69)
  • Added FileSystem-ansi.format.ps1xml which adds a custom view called ansi. This colorizes files based on $PSAnsiMap.
  • Updated Show-Tree to resolve child paths using -LiteralPath.
  • Updated README.md

PSScriptTools_v2.20.0

02 Mar 17:51
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.20.0

  • Restructured Get-FileSizeInfo to better handle Windows PowerShell. (Issue #70)
  • Added Remove-MergedBranch with an alias of rmb. (Issue #71)
  • Added Get-ModuleCommand with an alias of gmc.
  • Added modulecommand.format.ps1xml to format Get-ModuleCommand results.
  • Added an alias of shtree for Show-Tree because pstree is a Linux command.
  • Added parameter alias files for -ShowItem in Show-Tree.
  • Added parameter alias properties for -ShowProperties in Show-Tree.
  • Added parameter alias ansi for dynamic parameter InColor in Show-Tree. (Issue #73)
  • Set the default parameter value for -Path in Show-Tree to the current directory.
  • Modified Show-Tree to allow the user to specify an array of properties. This is a breaking change as the parameter has been changed from a switch to string[]. (Issue #72)
  • Removed PROPERTY label in Show-Tree output when displaying properties.
  • Corrected errors in module manifest.
  • Added auto completer for Runspace parameter in Remove-Runspace.
  • Added alias rfn for New-RandomFileName.
  • Added alias cfn for New-CustomFileName.
  • Updated README.md.
  • ChangeLog.md clean up.

PSScriptTools_v2.19.0

28 Feb 17:27
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.19.0

  • Modified Get-FolderSizeInfo to use [system.collections.arraylist]` to improve performance. (Issue #68)
  • Fixed bug in Get-FolderSizeInfo running in PowerShell 7 that wasn't including System files.
  • Updated help for Get-FolderSizeInfo
  • Added online help link for Get-PSScriptTools.
  • Added better error handling to Test-EmptyFolder
  • Added Computername property to passthru output from Test-EmptyFolder
  • Added alias fcc for Find-CimClass
  • Added alias pstree for Show-Tree
  • Revised Show-Tree to use splatting for internal commands
  • Added a dynamic parameter InColor for Show-Tree to display results in ANSI color if running PowerShell 7.
  • Added format file serviceansi.format.ps1xml to display service status colored when using PowerShell 7
  • Updated README.md

PSScriptTools_v2.18.0

27 Feb 16:38
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.18.0

  • Fixed missing ReleaseID property in Get-WindowsVersion (Issue #67)
  • Added BuildBranch property to Get-WindowsVersion
  • Updated windowsversion.format.ps1xml to include new properties and not use Autosize
  • Added Name property to output from Get-FolderSizeInfo (Issue #66)
  • Added a new table view called name for Get-FolderSizeInfo
  • Added Get-PSScriptTools function to display summary information about commands in this module
  • Added psscripttools.format.ps1xml to define a default table view for Get-PSScriptTools
  • Help updates
  • Added online help link for Test-EmptyFolder
  • Updated README.md

PSScriptTools_v2.17.0

26 Feb 15:15
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.17.0

  • Updated Get-FolderSizeInfo to handle directory names like [data] (Issue #65)
  • Updated Get-FolderSizeInfo to show a TotalSize of 0 for empty directories (Issue #64)
  • Cleaned up code in Get-FolderSizeInfo script file now that it is part of this module.
  • Added Test-EmptyFolder
  • Updated README.md

PSScriptTools_v2.16.0

12 Feb 19:44
Compare
Choose a tag to compare

Change Log for PSScriptTools

v2.16.0

  • Fixed bug in New-CustomFileName when using a 24 hour value. (Issue #62)
  • Updated Test-ExpressionForm to clear the text results (Issue #61)
  • Updated Convertto-WPFGrid to display a refresh message (Issue #43)
  • Updated foldersizeinfo.format.ps1xml to include a KB formatted view