Skip to content

Releases: jdhitsolutions/PSScriptTools

PSScriptTools_v2.41.0

18 Jan 21:31
Compare
Choose a tag to compare

PSScriptTools

v2.41.0

  • Added function Copy-CommandHistory with an alias of ch.
  • Updated Out-Copy to ignore ANSI unless specified. Issue #118
  • Added an alias of oc for Out-Copy.
  • Updated New-PSFormatXML to fix ReadOnly property error. Issue #121
  • Updated Get-ModuleCommand to include version information and to accept pipeline input.
  • Updated modulecommand.format.ps1xml with a new table view called version.
  • Updated missing online help links.
  • Updated README.md.

PSScriptTools_v2.40.0

10 Jan 19:51
Compare
Choose a tag to compare

PSScriptTools

v2.40.0

  • Updated parameter validation for IP address in Get-WhoIs to allow addresses with 255 in an octet. Issue #117.
  • Updated help files with missing online links.
  • Added command Convert-HtmlToAnsi with an alias of cha.
  • Modified Convertto-Markdown to add a AsList parameter. Issue #114
  • Updated README.md.

PSScriptTools_v2.39.0

30 Nov 19:29
Compare
Choose a tag to compare

PSScriptTools

v2.39.0

  • Updated Test-WithCulture to include additional Verbose output.
  • Added command Get-FileExtensionInfo with format file `FileExtensionInfo.format.ps1xml'. This command will require PowerShell 7.
  • Added New-PSDynamicParameter and New-PSDynamicParameterForm.
  • Incorporated pull request #116 to fix bug with Get-ParameterInfo when the command has a count parameter. Thanks @ninmonkey.
  • Added command Get-LastModifiedFile and its alias glm.
  • Help updates.
  • Updated README.md.

PSScriptTools_v2.38.0

01 Jul 13:07
Compare
Choose a tag to compare

PSScriptTools

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.

PSScriptTools_v2.37.0

23 Jun 13:04
Compare
Choose a tag to compare

PSScriptTools

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.

PSScriptTools_v2.36.0

09 Apr 16:45
Compare
Choose a tag to compare

PSScriptTools

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.

PSScriptTools_v2.35.0

25 Mar 15:50
Compare
Choose a tag to compare

PSScriptTools

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.

PSScriptTools_v2.34.1

21 Jan 20:19
Compare
Choose a tag to compare

v2.34.1

  • Updated license.txt with 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.

PSScriptTools_v2.34.0

29 Dec 16:31
Compare
Choose a tag to compare

v2.34.0

  • Fixed typo bug in Get-PSScriptTools that was failing to get command aliases. (Issue #99)
  • Modified Get-PSScriptTools to improve performance. Assuming that all exported functions use standard verbs.
  • Added Get-PSAnsiFileMap.
  • Added Set-PSAnsiFileMapEntry.
  • Added Remove-PSAnsiFileMapEntry.
  • Added Export-PSAnsiFileMap.
  • Added Show-ANSISequence.
  • Updated filesystem.ansi.format.ps1xml to use last matching pattern.
  • Modified Show-Tree to better handle piped-in file and directory objects.
  • Added an alias ab for Add-Border.
  • Added an alias of nab for New-AnsiBar.
  • Updated README.md.
  • Updated module description.
  • Help updates.

PSScriptTools_v2.33.1

12 Nov 19:08
Compare
Choose a tag to compare

Change Log for PSScriptTools

This is the most recent change log history for this module.

v2.33.1

  • Fixed bug in ConvertTo-WPFGrid with refresh and timeout values. (Issue #98)
  • Added missing online help links.
  • Added a few related module links in README.md.