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

PowerTip: Use PowerShell to view properties and their values for a .NET Framework class

$
0
0

Summary: Learn how to view properties and the associated values of those properties of .NET Framework classes with Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to view the properties and their values from a .NET Framework class,
           such as System.String?

Hey, Scripting Guy! Answer Use the Type accelerator [string], pipe the output to the Format-List cmdlet, and use an asterisk to
           select all properties:

[string] | fl *

Note: fl is an alias for Format-List.


Viewing all articles
Browse latest Browse all 3333

Trending Articles