Skip to content

PSScriptTools_v2.36.0

Compare
Choose a tag to compare
@jdhitsolutions jdhitsolutions released this 09 Apr 16:45
· 149 commits to main since this release

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.