Skip to content
ConsoleMonster

Coming from Format-Table

Keep typing Format-Table, Format-List and Format-Wide, or move to Show-ConsoleTable and Show-Console for column options, totals and exports.

The Format commands keep working: with Enable-ConsoleFormatting, Format-Table, Format-List and Format-Wide draw ConsoleMonster views when their output goes straight to the console. When a table needs more than Format-Table can say (a presenter, a totals row, a column that hides first in a narrow window), Show-ConsoleTable takes the same pipeline input with column options.

format-table.ps1 PowerShell 7.6
format-consoletable.ps1 PowerShell 7.6
PowerShellformat-table.ps1
# Build artifacts as a module build reports them.
$artifacts = @(
    [pscustomobject] @{ Name = 'Orion.2.0.0.nupkg'; Kind = 'NuGet'; Length = 1482113
        Time = [timespan]::FromSeconds(48.2); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.nupkg' }
    [pscustomobject] @{ Name = 'Orion.2.0.0.snupkg'; Kind = 'NuGet'; Length = 402331
        Time = [timespan]::FromSeconds(3.1); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.snupkg' }
    # … 6 more lines in the full program
)

$artifacts | Format-Table -AutoSize
Full program
# Build artifacts as a module build reports them.
$artifacts = @(
    [pscustomobject] @{ Name = 'Orion.2.0.0.nupkg'; Kind = 'NuGet'; Length = 1482113
        Time = [timespan]::FromSeconds(48.2); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.nupkg' }
    [pscustomobject] @{ Name = 'Orion.2.0.0.snupkg'; Kind = 'NuGet'; Length = 402331
        Time = [timespan]::FromSeconds(3.1); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.snupkg' }
    [pscustomobject] @{ Name = 'Orion-2.0.0.zip'; Kind = 'Module'; Length = 2904576
        Time = [timespan]::FromSeconds(11.7); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion-2.0.0.zip' }
    [pscustomobject] @{ Name = 'Docs.zip'; Kind = 'Module'; Length = 51302
        Time = [timespan]::FromSeconds(1.2); Signed = $false
        Path = 'D:\Builds\Orion\Packed\Docs.zip' }
)

$artifacts | Format-Table -AutoSize
PowerShellformat-consoletable.ps1
# Build artifacts as a module build reports them.
$artifacts = @(
    [pscustomobject] @{ Name = 'Orion.2.0.0.nupkg'; Kind = 'NuGet'; Length = 1482113
        Time = [timespan]::FromSeconds(48.2); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.nupkg' }
    [pscustomobject] @{ Name = 'Orion.2.0.0.snupkg'; Kind = 'NuGet'; Length = 402331
        Time = [timespan]::FromSeconds(3.1); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.snupkg' }
    # … 6 more lines in the full program
)

$artifacts | Show-ConsoleTable -Title '[bold]Build artifacts[/]' -GroupBy Kind -Property @(
    @{ Name = 'Name'; Key = $true; Overflow = 'Never' }
    @{ Name = 'Length'; Header = 'Size'; Presenter = 'Bytes'; Priority = 9; Aggregate = 'Sum' }
    @{ Name = 'Time'; Header = 'Built in'; Presenter = 'Duration'; Priority = 6; Aggregate = 'Sum' }
    @{ Name = 'Signed'; Presenter = 'Boolean'; Priority = 5 }
    @{ Name = 'Path'; Overflow = 'TruncateMiddle'; Priority = 1; MinWidth = 20 }
) -ShowTotals
Full program
Import-Module ConsoleMonster

# Build artifacts as a module build reports them.
$artifacts = @(
    [pscustomobject] @{ Name = 'Orion.2.0.0.nupkg'; Kind = 'NuGet'; Length = 1482113
        Time = [timespan]::FromSeconds(48.2); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.nupkg' }
    [pscustomobject] @{ Name = 'Orion.2.0.0.snupkg'; Kind = 'NuGet'; Length = 402331
        Time = [timespan]::FromSeconds(3.1); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion.2.0.0.snupkg' }
    [pscustomobject] @{ Name = 'Orion-2.0.0.zip'; Kind = 'Module'; Length = 2904576
        Time = [timespan]::FromSeconds(11.7); Signed = $true
        Path = 'D:\Builds\Orion\Packed\Orion-2.0.0.zip' }
    [pscustomobject] @{ Name = 'Docs.zip'; Kind = 'Module'; Length = 51302
        Time = [timespan]::FromSeconds(1.2); Signed = $false
        Path = 'D:\Builds\Orion\Packed\Docs.zip' }
)

$artifacts | Show-ConsoleTable -Title '[bold]Build artifacts[/]' -GroupBy Kind -Property @(
    @{ Name = 'Name'; Key = $true; Overflow = 'Never' }
    @{ Name = 'Length'; Header = 'Size'; Presenter = 'Bytes'; Priority = 9; Aggregate = 'Sum' }
    @{ Name = 'Time'; Header = 'Built in'; Presenter = 'Duration'; Priority = 6; Aggregate = 'Sum' }
    @{ Name = 'Signed'; Presenter = 'Boolean'; Priority = 5 }
    @{ Name = 'Path'; Overflow = 'TruncateMiddle'; Priority = 1; MinWidth = 20 }
) -ShowTotals
The same four objects in PowerShell 7, 100 columns wide: Format-Table -AutoSize, then Show-ConsoleTable with -GroupBy, -ShowTotals and column options.

Command map

HabitConsoleMonsterDifference
Format-Table, Format-List, Format-Wide at the promptThe same commands after Enable-ConsoleFormattingSame parameters. Only output that goes straight to the console changes.
Format-Table -Property with calculated propertiesShow-ConsoleTable -PropertyHashtables also take Presenter, Priority, Aggregate, Overflow and thresholds.
Format-Table -GroupByShow-ConsoleTable -GroupByGroups without sorting first; -ShowTotals adds subtotals.
Format-Table -AutoSize, -WrapThe default, -WrapColumns are fitted to the window and hidden by priority; narrow windows get cards.
Format-ListShow-Console -View ListA titled record with the same presenters.
Format-Custom for nested objectsShow-Console -View TreeNested properties as a tree.
Format-Table | Out-StringNew-ConsoleTable | Export-ConsoleFrame -Format TextPlain text of the drawn table.
Format-Table | Out-FileExport-ConsoleFrame -Format Markdown -PathMarkdown, HTML or fenced text for a document.

Shared sample data

Install with Install-Module ConsoleMonster -Scope CurrentUser and run Import-Module ConsoleMonster. Each example uses these rows.

$servers = @(
    [pscustomobject] @{ Name = 'FS01'; Site = 'Warsaw'; Pending = 4; Status = 'Pass' }
    [pscustomobject] @{ Name = 'SQL01'; Site = 'Dublin'; Pending = 12; Status = 'Warn' }
    [pscustomobject] @{ Name = 'WEB01'; Site = 'Berlin'; Pending = 0; Status = 'Pass' }
)

1. Keep typing Format-Table

PowerShell

$servers | Format-Table Name, Site, Pending, Status -AutoSize
$servers[1] | Format-List

ConsoleMonster

Enable-ConsoleFormatting
$servers | Format-Table Name, Site, Pending, Status -AutoSize
$servers[1] | Format-List

The commands, parameters and aliases (ft, fl, fw) stay the same. $x = ... | Format-Table, | Out-String, | Out-File, >, jobs, remoting and transcripts keep PowerShell's formatting records and text. Enable-ConsoleFormatting -Exclude FormatCommands leaves the three commands native while the rest of everyday formatting stays on.

Format commands by default

The same three commands before and after Enable-ConsoleFormatting. Only output that goes straight to the console changes; assignments, pipelines, files, jobs and transcripts keep PowerShell's own formatting.

Enable-ConsoleFormatting 100×4624-bitFull
PowerShellformat-commands.ps1View on GitHub
# Invented services: the same inventory before and after formatting is enabled.
$services = @(
    [pscustomobject] @{ Name = 'WebApi'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Worker'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Archive'; Status = 'Stopped'; StartType = 'Manual' }
)

# Format-Table, Format-List and Format-Wide as PowerShell draws them
$services | Format-Table Name, Status, StartType -AutoSize
$services[0] | Format-List Name, Status, StartType
$services | Format-Wide Name -Column 3

Enable-ConsoleFormatting

# The same commands, drawn by ConsoleMonster
$services | Format-Table Name, Status, StartType -AutoSize
$services[0] | Format-List Name, Status, StartType
$services | Format-Wide Name -Column 3
Full program
Import-Module ConsoleMonster

# Invented services: the same inventory before and after formatting is enabled.
$services = @(
    [pscustomobject] @{ Name = 'WebApi'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Worker'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Archive'; Status = 'Stopped'; StartType = 'Manual' }
)

# Format-Table, Format-List and Format-Wide as PowerShell draws them
$services | Format-Table Name, Status, StartType -AutoSize
$services[0] | Format-List Name, Status, StartType
$services | Format-Wide Name -Column 3

Enable-ConsoleFormatting

# The same commands, drawn by ConsoleMonster
$services | Format-Table Name, Status, StartType -AutoSize
$services[0] | Format-List Name, Status, StartType
$services | Format-Wide Name -Column 3
C#format-commands.host.csView on GitHub
// A compiled cmdlet: the current PowerShell runspace owns native commands and callbacks.
[Cmdlet(VerbsLifecycle.Invoke, "FormatCommandsExample") ]
public sealed class FormatCommandsExample : PSCmdlet {
    protected override void ProcessRecord() {
        const string inventory = @"# Invented services: the same inventory before and after formatting is enabled.
$services = @(
    [pscustomobject] @{ Name = 'WebApi'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Worker'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Archive'; Status = 'Stopped'; StartType = 'Manual' }
)
";
        InvokeCommand.InvokeScript(inventory + @"& {
        # Format-Table, Format-List and Format-Wide as PowerShell draws them
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3


        } | Microsoft.PowerShell.Core\Out-Default");
        ConsoleHostFormatting.Enable(
            this,
            new ConsoleFormattingOptions
            {
                Include = new[] { ConsoleFormattingFeature.FormatCommands },
                Exclude = new[] { ConsoleFormattingFeature.Output, ConsoleFormattingFeature.Errors,
                    ConsoleFormattingFeature.Streams, ConsoleFormattingFeature.ReadLine }
            });
        try { InvokeCommand.InvokeScript(inventory + @"# The same commands, drawn by ConsoleMonster
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3"); }
        finally { ConsoleHostFormatting.Disable(
            this,
            new[] { ConsoleFormattingFeature.FormatCommands }); }
    }
}
Full program
using System.Management.Automation;
using ConsoleMonster.PowerShell;

// A compiled cmdlet: the current PowerShell runspace owns native commands and callbacks.
[Cmdlet(VerbsLifecycle.Invoke, "FormatCommandsExample") ]
public sealed class FormatCommandsExample : PSCmdlet {
    protected override void ProcessRecord() {
        const string inventory = @"# Invented services: the same inventory before and after formatting is enabled.
$services = @(
    [pscustomobject] @{ Name = 'WebApi'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Worker'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Archive'; Status = 'Stopped'; StartType = 'Manual' }
)
";
        InvokeCommand.InvokeScript(inventory + @"& {
        # Format-Table, Format-List and Format-Wide as PowerShell draws them
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3


        } | Microsoft.PowerShell.Core\Out-Default");
        ConsoleHostFormatting.Enable(
            this,
            new ConsoleFormattingOptions
            {
                Include = new[] { ConsoleFormattingFeature.FormatCommands },
                Exclude = new[] { ConsoleFormattingFeature.Output, ConsoleFormattingFeature.Errors,
                    ConsoleFormattingFeature.Streams, ConsoleFormattingFeature.ReadLine }
            });
        try { InvokeCommand.InvokeScript(inventory + @"# The same commands, drawn by ConsoleMonster
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3"); }
        finally { ConsoleHostFormatting.Disable(
            this,
            new[] { ConsoleFormattingFeature.FormatCommands }); }
    }
}

Download HostExample.csproj beside the source file.

PowerShell 7
Import-Module ConsoleMonster
$moduleBinary = Split-Path (Get-Command Show-Console).DLL
dotnet build ./HostExample.csproj -c Release "-p:ConsoleMonsterModuleDirectory=$moduleBinary"
Import-Module ./bin/Release/net8.0/HostExample.dll
Invoke-FormatCommandsExample

This is a compiled PowerShell cmdlet class. Reference the installed module’s ConsoleMonster and ConsoleMonster.PowerShell assemblies in a PowerShell module project; ProcessRecord runs on the owning pipeline thread. Download the project beside the source file and build/run it from PowerShell 7.

C# fluentformat-commands.host.cs
// A compiled cmdlet: the current PowerShell runspace owns native commands and callbacks.
[Cmdlet(VerbsLifecycle.Invoke, "FormatCommandsExample")]
public sealed class FormatCommandsExample : PSCmdlet
{
    protected override void ProcessRecord()
    {
        const string inventory = @"# Invented services: the same inventory before and after formatting is enabled.
$services = @(
    [pscustomobject] @{ Name = 'WebApi'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Worker'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Archive'; Status = 'Stopped'; StartType = 'Manual' }
)
";
        InvokeCommand.InvokeScript(inventory + @"& {
        # Format-Table, Format-List and Format-Wide as PowerShell draws them
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3


        } | Microsoft.PowerShell.Core\Out-Default");
        ConsoleHostFormatting.Enable(
            this,
            new ConsoleFormattingOptions()
                .Include(new[] { ConsoleFormattingFeature.FormatCommands })
                .Exclude(new[]
                {
                    ConsoleFormattingFeature.Output,
                    ConsoleFormattingFeature.Errors,
                    ConsoleFormattingFeature.Streams,
                    ConsoleFormattingFeature.ReadLine
                }));
        try
        {
            InvokeCommand.InvokeScript(inventory + @"# The same commands, drawn by ConsoleMonster
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3");
        }
        finally
        {
            ConsoleHostFormatting.Disable(this, new[] { ConsoleFormattingFeature.FormatCommands });
        }
    }
}
Full program
using System.Management.Automation;
using ConsoleMonster.PowerShell;

// A compiled cmdlet: the current PowerShell runspace owns native commands and callbacks.
[Cmdlet(VerbsLifecycle.Invoke, "FormatCommandsExample")]
public sealed class FormatCommandsExample : PSCmdlet
{
    protected override void ProcessRecord()
    {
        const string inventory = @"# Invented services: the same inventory before and after formatting is enabled.
$services = @(
    [pscustomobject] @{ Name = 'WebApi'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Worker'; Status = 'Running'; StartType = 'Automatic' }
    [pscustomobject] @{ Name = 'Archive'; Status = 'Stopped'; StartType = 'Manual' }
)
";
        InvokeCommand.InvokeScript(inventory + @"& {
        # Format-Table, Format-List and Format-Wide as PowerShell draws them
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3


        } | Microsoft.PowerShell.Core\Out-Default");
        ConsoleHostFormatting.Enable(
            this,
            new ConsoleFormattingOptions()
                .Include(new[] { ConsoleFormattingFeature.FormatCommands })
                .Exclude(new[]
                {
                    ConsoleFormattingFeature.Output,
                    ConsoleFormattingFeature.Errors,
                    ConsoleFormattingFeature.Streams,
                    ConsoleFormattingFeature.ReadLine
                }));
        try
        {
            InvokeCommand.InvokeScript(inventory + @"# The same commands, drawn by ConsoleMonster
        $services | Format-Table Name, Status, StartType -AutoSize
        $services[0] | Format-List Name, Status, StartType
        $services | Format-Wide Name -Column 3");
        }
        finally
        {
            ConsoleHostFormatting.Disable(this, new[] { ConsoleFormattingFeature.FormatCommands });
        }
    }
}

Download HostExample.csproj beside the source file.

PowerShell 7
Import-Module ConsoleMonster
$moduleBinary = Split-Path (Get-Command Show-Console).DLL
dotnet build ./HostExample.csproj -c Release "-p:ConsoleMonsterModuleDirectory=$moduleBinary"
Import-Module ./bin/Release/net8.0/HostExample.dll
Invoke-FormatCommandsExample

This is a compiled PowerShell cmdlet class. Reference the installed module’s ConsoleMonster and ConsoleMonster.PowerShell assemblies in a PowerShell module project; ProcessRecord runs on the owning pipeline thread. Download the project beside the source file and build/run it from PowerShell 7.

Turn it on

PowerShell 5.1 and 7
Install-Module ConsoleMonster -Scope CurrentUser
Import-Module ConsoleMonster
# Included by default; use -Exclude FormatCommands to keep native formatting.
Enable-ConsoleFormatting

See also: Enable-ConsoleFormatting

2. Calculated columns and groups

PowerShell

$servers | Sort-Object Status | Format-Table -GroupBy Status -Property Name, Site, @{
    Name = 'Pending'; Expression = { $_.Pending }; Alignment = 'Right'
}

ConsoleMonster

$servers | Show-ConsoleTable -GroupBy Status -ShowTotals -Property Name, Site, @{
    Name = 'Pending'; Presenter = 'DataBar'; Aggregate = 'Sum'
}

A column hashtable takes Name (or Expression), Header, Key, Priority, MinWidth, MaxWidth, Overflow, Alignment, Presenter, Aggregate and thresholds such as WarnAbove; the Show-ConsoleTable reference lists them all. Real pipeline data needs none of them: sizes and dates get their presenters automatically.

Get-ChildItem | Show-ConsoleTable PowerShell 7.6
PowerShellfiles.ps1
# Invented package artifacts with fixed sizes and UTC timestamps.
$recordedAt = [datetimeoffset] '2026-10-21T12:00:00Z'
$files = @(
    [pscustomobject] @{
        Name = 'ConsoleMonster.dll'; Length = 1048576
        LastWriteTime = $recordedAt; Extension = '.dll'
    }
    [pscustomobject] @{
        Name = 'ConsoleMonster.deps.json'; Length = 4096
        LastWriteTime = $recordedAt; Extension = '.json'
    }
    [pscustomobject] @{
        Name = 'start.ps1'; Length = 512
        LastWriteTime = $recordedAt; Extension = '.ps1'
    }
)
$files | Show-ConsoleTable -Property Name, Length, LastWriteTime `
    -GroupBy Extension -Presentation @{ TimeZone = [TimeZoneInfo]::Utc }
Full program
Import-Module ConsoleMonster

# Invented package artifacts with fixed sizes and UTC timestamps.
$recordedAt = [datetimeoffset] '2026-10-21T12:00:00Z'
$files = @(
    [pscustomobject] @{
        Name = 'ConsoleMonster.dll'; Length = 1048576
        LastWriteTime = $recordedAt; Extension = '.dll'
    }
    [pscustomobject] @{
        Name = 'ConsoleMonster.deps.json'; Length = 4096
        LastWriteTime = $recordedAt; Extension = '.json'
    }
    [pscustomobject] @{
        Name = 'start.ps1'; Length = 512
        LastWriteTime = $recordedAt; Extension = '.ps1'
    }
)
$files | Show-ConsoleTable -Property Name, Length, LastWriteTime `
    -GroupBy Extension -Presentation @{ TimeZone = [TimeZoneInfo]::Utc }
Invented package artifacts with fixed sizes and dates, grouped by extension, in PowerShell 7.

3. Text and documents

PowerShell

$text = $servers | Format-Table -AutoSize | Out-String
$servers | Format-Table -AutoSize | Out-File ./servers.txt

ConsoleMonster

$text = $servers | New-ConsoleTable | Export-ConsoleFrame -Format Text
$servers | New-ConsoleTable | Export-ConsoleFrame -Format Markdown -Path ./servers.md
$servers | New-ConsoleTable | Export-ConsoleFrame -Format Markdown | Set-Clipboard

Show-ConsoleTable writes to the console the way Write-Host does, so $x = ... | Show-ConsoleTable captures nothing; -PassThru also passes the input objects on. New-ConsoleTable returns the table for an export or a layout. Markdown keeps table semantics, FencedText keeps the console layout in a text fence, and Html makes a page. All of them work in scripts and on Windows PowerShell 5.1.

Export-ConsoleFrame -Format Markdown PowerShell 7.6
PowerShellexport-markdown.ps1
# Invented package artifacts, exported as a Markdown table for a report.
$recordedAt = [datetimeoffset] '2026-10-21T12:00:00Z'
$files = @(
    [pscustomobject] @{
        Name = 'ConsoleMonster.dll'; Length = 1048576; LastWriteTime = $recordedAt
    }
    [pscustomobject] @{
        Name = 'ConsoleMonster.deps.json'; Length = 4096; LastWriteTime = $recordedAt
    }
    [pscustomobject] @{
        Name = 'start.ps1'; Length = 512; LastWriteTime = $recordedAt
    }
)
$files | New-ConsoleTable -Property Name, Length, LastWriteTime `
    -Presentation @{ TimeZone = [TimeZoneInfo]::Utc }  |
    Export-ConsoleFrame -Format Markdown
Full program
Import-Module ConsoleMonster

# Invented package artifacts, exported as a Markdown table for a report.
$recordedAt = [datetimeoffset] '2026-10-21T12:00:00Z'
$files = @(
    [pscustomobject] @{
        Name = 'ConsoleMonster.dll'; Length = 1048576; LastWriteTime = $recordedAt
    }
    [pscustomobject] @{
        Name = 'ConsoleMonster.deps.json'; Length = 4096; LastWriteTime = $recordedAt
    }
    [pscustomobject] @{
        Name = 'start.ps1'; Length = 512; LastWriteTime = $recordedAt
    }
)
$files | New-ConsoleTable -Property Name, Length, LastWriteTime `
    -Presentation @{ TimeZone = [TimeZoneInfo]::Utc }  |
    Export-ConsoleFrame -Format Markdown
export-markdown.ps1 writes its table as Markdown; this is the text it printed.

Differences to know

  • Display commands are an end of the pipeline. Keep the objects in a variable when later commands need them.
  • In a narrow console, columns hide by priority and a footer names them; below 60 cells, rows turn into cards titled with the key value. Format-Table cuts columns off at the edge instead.
  • Collections in a cell are joined (DNS, GC, PDC) with a +N marker, where Format-Table shows {DNS, GC, PDC}.
  • Without -Property, an object's default display property set is used, as in Format-Table.
56 columns PowerShell 7.6
format-consoletable.ps1, the second script at the top of this page, in a 56-column console.

Next

Edit this page on GitHub