PowerTip: Find properties of .NET Framework class with PowerShell

Summary: Learn how to use Windows PowerShell to display properties of a .NET Framework class.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily display properties of a .NET Framework class?

Hey, Scripting Guy! Answer Pipe the type accelerator to the Get-Member cmdlet and specify the MemberType property,
           for example:

[string] | gm -MemberType Properties

Notegm is an alias for Get-Member.

Comments (2)

  1. Dave says:

    Hey Scripting guy(s),
    Paddle upstream and tell people how to get a listing of all the accelerators? Thx

Skip to main content