PowerTip: Back-to-Basics Math Class

Doctor Scripto

Dr Scripto

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

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment