Default formatting of an PSObject

Hello Guys,

i know you can overwrite the “DefaultDisplayPropertySet” for an object using PowerShell (

But is it also possible to overwrite the default output format like Format-Table/Format-List ??

Some objects are shown as List and i don’t want to call every function like this:

PS> foo | ft 


submitted by /u/k3ks
[link] [comments]

Leave a Reply