github jdhitsolutions/PSScriptTools v2.36.0
PSScriptTools_v2.36.0

latest releases: v2.50.0, v2.49.0, v2.48.0...
3 years ago

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.

Don't miss a new PSScriptTools release

NewReleases is sending notifications on new releases.