Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Find Information about Object Properties

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles