December 20th, 2012

PowerTip: View Static Members of a Type Accelerator

Doctor Scripto
Scripter

Summary: Learn how to view static members of a type accelerator in Windows PowerShell.

Hey, Scripting Guy! Question How can I view the static methods and properties of the [math] type accelerator?

Hey, Scripting Guy! Answer Charlotte Windows PowerShell user group Brian Wilhite says: To view the methods and properties of the [math] type accelerator, you’ll use the Get-Member cmdlet with the –Static parameter.

[math] | Get-Member -Static

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.