PowerTip: Find properties of .NET Framework class with PowerShell

Doctor Scripto

Dr Scripto

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.

0 comments

Comments are closed.