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


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.

Comments (1)

  1. Anonymous says:

    Recent Releases and Announcements

    Changes to SQL cumulative update download process:

    SQL

Skip to main content