PowerTip: Use PowerShell to Find Information about Object Properties

The Scripting Guys

Dr

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

The Scripting Guys
Dr Scripto

Follow Dr   

No Comments.