Releases: jdhitsolutions/PSScriptTools
Releases · jdhitsolutions/PSScriptTools
PSScriptTools_v2.25.0
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
PSScriptTools_v2.24.0
Change Log for PSScriptTools
v2.24.0
Add
- Added parameter alias of
tb
for-TextBlock
inAdd-Border
. - Added parameter alias of
border
for-Character
inAdd-Border
. - Added
New-ANSIBar
command. - Added
New-RedGreenGradient
command. - Added
Write-ANSIProgress
command with an alias ofwap
. - Defined a global variable called
$PSSpecialChar
which is a hash table select special characters you might want to use withAdd-Border
orNew-AnsiBar
. - Added a table view to
modulecommand.format.ps1xml
and made it the default. - Added a new table view called
verb
tomodulecommand.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
andfilesystem-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
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
ChangeLog for PSScriptTools
v2.22.0
- Modified
Set-ConsoleTitle
to move parameter validation into theProcess
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
andRemove-MergedBranch
. - Updated
foldersizeinfo.format.ps1xml
to include a view calledTB
to display values in TB.
PSScriptTools_v2.21.0
Change Log for PSScriptTools
v2.21.0
- Updated
Set-ConsoleTitle
andSet-ConsoleColor
to display a warning if not in a console session. (Issue #75) - Added
Get-GitSize
and format filegitsize.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 thepsansimap.json
file. - Updated
Show-Tree
to use an ansi color map. (Issue #69) - Added
FileSystem-ansi.format.ps1xml
which adds a custom view calledansi
. This colorizes files based on$PSAnsiMap
. - Updated
Show-Tree
to resolve child paths using-LiteralPath
. - Updated
README.md
PSScriptTools_v2.20.0
Change Log for PSScriptTools
v2.20.0
- Restructured
Get-FileSizeInfo
to better handle Windows PowerShell. (Issue #70) - Added
Remove-MergedBranch
with an alias ofrmb
. (Issue #71) - Added
Get-ModuleCommand
with an alias ofgmc
. - Added
modulecommand.format.ps1xml
to formatGet-ModuleCommand
results. - Added an alias of
shtree
forShow-Tree
becausepstree
is a Linux command. - Added parameter alias
files
for-ShowItem
inShow-Tree
. - Added parameter alias
properties
for-ShowProperties
inShow-Tree
. - Added parameter alias
ansi
for dynamic parameterInColor
inShow-Tree
. (Issue #73) - Set the default parameter value for
-Path
inShow-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 aswitch
tostring[]
. (Issue #72) - Removed
PROPERTY
label inShow-Tree
output when displaying properties. - Corrected errors in module manifest.
- Added auto completer for
Runspace
parameter inRemove-Runspace
. - Added alias
rfn
forNew-RandomFileName
. - Added alias
cfn
forNew-CustomFileName
. - Updated
README.md
. ChangeLog.md
clean up.
PSScriptTools_v2.19.0
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 fromTest-EmptyFolder
- Added alias
fcc
forFind-CimClass
- Added alias
pstree
forShow-Tree
- Revised
Show-Tree
to use splatting for internal commands - Added a dynamic parameter
InColor
forShow-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
Change Log for PSScriptTools
v2.18.0
- Fixed missing
ReleaseID
property inGet-WindowsVersion
(Issue #67) - Added
BuildBranch
property toGet-WindowsVersion
- Updated
windowsversion.format.ps1xml
to include new properties and not use Autosize - Added
Name
property to output fromGet-FolderSizeInfo
(Issue #66) - Added a new table view called
name
forGet-FolderSizeInfo
- Added
Get-PSScriptTools
function to display summary information about commands in this module - Added
psscripttools.format.ps1xml
to define a default table view forGet-PSScriptTools
- Help updates
- Added online help link for
Test-EmptyFolder
- Updated
README.md