jdhitsolutions / PSScriptTools

:wrench: :hammer: A set of PowerShell functions you might use to enhance your own functions and scripts or to facilitate working in the console. Most should work in both Windows PowerShell and PowerShell 7, even cross-platform. Any operating system limitations should be handled on a per command basis. The Samples folder contains demonstration script files
MIT License
875 stars 110 forks source link

Support ANSI formatting in a remote session #106

Closed jdhitsolutions closed 3 years ago

jdhitsolutions commented 3 years ago

When running Get-PSWho remotely with Invoke-Command, the result doesn't use the default formatting in Windows PowerShell.

jdhitsolutions commented 3 years ago

This is true of running any command in a remoting session that uses an ANSI format file.

jdhitsolutions commented 3 years ago

Resolved in v2.37.0 (da3b2a8)