November 10th, 2013

PowerTip: Back-to-Basics Math Class

Doctor Scripto
Scripter

Summary: Learn how to find Windows PowerShell math methods.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find math methods so I can perform some mathematical calculations?

Hey, Scripting Guy! Answer Use the [math] type accelerator, pipe it to the Get-Member cmdlet, and use the –Static operator:

[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.