Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 4.48 KB

File metadata and controls

65 lines (52 loc) · 4.48 KB

Change Log for PSScriptTools

This file contains the most recent change history for the PSScriptTools module.

v2.38.0

  • Added Get-PSUnique function with an alias of gpsu. (Issue #109).
  • Modified Show-AnsiSequence to default to Foreground when using -Type (Issue #110).
  • Cleaned up module manifest.
  • Updated New-PSFormatXML to not create the ps1xml file if a bad property is detected (Issue #111).
  • Modified New-PSFormatXML to 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 Comments extension.
  • Added Set-LocationToFile which is only loaded when importing the module in VS Code or the PowerShell ISE.
  • Re-saved all .ps1xml files as UTF-8.
  • Added custom type extension files fileinfo.types.ps1xml and system.diagnostics.process.types.ps1xml.
  • Updated README.md.

v2.37.0

  • Updated Convertto-WPFGrid to 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 Summary view in psparameterinfo.format.ps1xml to not use autosizing.
  • Added <AutoSize/> back to serviceansi.format.ps1xml so that ANSI output displays properly.
  • Modified Show-ANSI and Get-PSAnsiFileMap to use [char]27 instead of [char]0x1b for 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-PSLocation to work in a PowerShell remoting session where there is no profile. (Issue #104).
  • Updated help.
  • Updated README.md.

v2.36.0

  • Update Get-MyVariable to make it more compatible with PowerShell 7 (Issue #103). This also makes the command now compatible with the PowerShell ISE.
  • Added table view called Simple to format file for Aliases.
  • Modified Options table view in alias.format.ps1xml to highlight read-only aliases in Red using ANSI if running in a PowerShell console host.
  • Updated Get-PSLocation to include $PSHome.
  • Modified module to only dot source Get-MyCounter.ps1 if 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-PSSessionInfo and an alias of gsin. The command uses a new format file, pssessioninfo.format.ps1xml.
  • Added command Test-IsElevated.
  • Updated Get-PSWho to included elevated information for non-Windows platforms.
  • Added format file pswho.format.ps1xml.
  • Help updates
  • Updated README.md.

v2.35.0

  • Added ConvertTo-TitleCase command with aliases of totc and title.
  • Added New-FunctionItem command with an alias of nfi to create functions on-the-fly.
  • Added Show-FunctionItem command with an alias of sfi to 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-PSScriptTools to not use ANSI in the header when running in a non-console host.
  • Updated Get-CommandSyntax to not use ANSI formatting when running in a non-console host.
  • Updated README.md.

v2.34.1

  • Updated license.txt with the new year.
  • Added missing online help links.
  • Fixed bug in Get-ParameterInfo that failed to display dynamic parameters when using a command alias. (Issue #101)
  • Modified format file for PSParameterInfo to display Mandatory and IsDynamic values in color when the value is $True.

Archive

If you need to see older change history, look at the Archive ChangeLog online.