PowerTip: Use PowerShell to Find Information about Object Properties


Summary: Learn how to use Windows PowerShell to find information about object properties.

Hey, Scripting Guy! Question How can I use Windows PowerShell to look at information about the properties of an object stored in a variable?

Hey, Scripting Guy! Answer Use the PSObject property, and look at the Properties collection, for example:

$a = @{}

$a.psobject.properties

Comments (1)

Skip to main content