This file contains the most recent change history for the PSScriptTools module.
- Added
Get-PSUniquefunction with an alias ofgpsu. (Issue #109). - Modified
Show-AnsiSequenceto default toForegroundwhen using-Type(Issue #110). - Cleaned up module manifest.
- Updated
New-PSFormatXMLto not create the ps1xml file if a bad property is detected (Issue #111). - Modified
New-PSFormatXMLto not add an explicit declaration. This means the files will now be saved in the correct UTF-8 format and not UTF-8 with BOM. - Modified TODO VSCode command to put date at the end. Otherwise, it breaks the
Better Commentsextension. - Added
Set-LocationToFilewhich is only loaded when importing the module in VS Code or the PowerShell ISE. - Re-saved all
.ps1xmlfiles asUTF-8. - Added custom type extension files
fileinfo.types.ps1xmlandsystem.diagnostics.process.types.ps1xml. - Updated
README.md.
- Updated
Convertto-WPFGridto better handle non-standard property names. (Issue #108). - Modified custom format files that use ANSI to test if host name matches 'console' or 'code' to support VSCode.
- Modified
Summaryview inpsparameterinfo.format.ps1xmlto not use autosizing. - Added
<AutoSize/>back toserviceansi.format.ps1xmlso that ANSI output displays properly. - Modified
Show-ANSIandGet-PSAnsiFileMapto use[char]27instead of[char]0x1bfor Windows PowerShell sessions. - Modified ANSI sequences in format files to use
[char]27. (Issue #107). - Modified ANSI sequences in format files recognize a remote PSSession. (Issue #106).
- Update
Get-PSLocationto work in a PowerShell remoting session where there is no profile. (Issue #104). - Updated help.
- Updated
README.md.
- Update
Get-MyVariableto make it more compatible with PowerShell 7 (Issue #103). This also makes the command now compatible with the PowerShell ISE. - Added table view called
Simpleto format file for Aliases. - Modified
Optionstable view inalias.format.ps1xmlto highlight read-only aliases in Red using ANSI if running in a PowerShell console host. - Updated
Get-PSLocationto include$PSHome. - Modified module to only dot source
Get-MyCounter.ps1if running Windows. The file contains a class definition that uses a Windows-only reference and PowerShell "scans" the file before it dot sources it, which throws an exception on non-Windows platforms. - Added command
Get-PSSessionInfoand an alias ofgsin. The command uses a new format file,pssessioninfo.format.ps1xml. - Added command
Test-IsElevated. - Updated
Get-PSWhoto included elevated information for non-Windows platforms. - Added format file
pswho.format.ps1xml. - Help updates
- Updated
README.md.
- Added
ConvertTo-TitleCasecommand with aliases oftotcandtitle. - Added
New-FunctionItemcommand with an alias ofnfito create functions on-the-fly. - Added
Show-FunctionItemcommand with an alias ofsfito display a function. - Modified format files to test the console when using ANSI formatting. (Issue #102)
- Modified ANSI functions to display a warning when run in the PowerShell ISE and exit.
- Updated
Get-PSScriptToolsto not use ANSI in the header when running in a non-console host. - Updated
Get-CommandSyntaxto not use ANSI formatting when running in a non-console host. - Updated
README.md.
- Updated
license.txtwith the new year. - Added missing online help links.
- Fixed bug in
Get-ParameterInfothat failed to display dynamic parameters when using a command alias. (Issue #101) - Modified format file for
PSParameterInfoto displayMandatoryandIsDynamicvalues in color when the value is$True.
If you need to see older change history, look at the Archive ChangeLog online.