Powershell: Format-Table and Out-Gridview -> Data format not supported?

Jeff Foushee 96 Reputation points
2021-05-20T14:31:46.907+00:00

Hi. Trying to review the local machine's Windows certificates in an Out-GridView format, so I can review data signatures, nullability, frequency, etc.

This script yields too little:

Get-ChildItem -Path Cert:\LocalMachine -Recurse | Where-Object {$_.PSISContainer -eq $false} | Out-GridView

This script:

Get-ChildItem -Path Cert:\LocalMachine -Recurse | Where-Object {$_.PSISContainer -eq $false} | Format-Table -Property * | Out-GridView

errors out with "The data format is not supported by Out-GridView."

I thought this was a .NET "ToString()" issue, but even this script:

Get-ChildItem -Path Cert:\LocalMachine -Recurse | Where-Object {$_.PSISContainer -eq $false} | Format-Table -Property "Subject" | Out-GridView

errors out with the same "The data format is not supported by Out-GridView."

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,277 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful