Afficher les proprietes d'un objet dans PowerShell

Afficher les proprietes d’un objet dans PowerShell

Essayez ceci :

Write-Host ($obj | Format-Table | Out-String)

ou

Write-Host ($obj | Format-List | Out-String)