#PowerShell mathematical calculations

http://blogs.technet.com/heyscriptingguy/archive/2010/03/06/hey-scripting-guy-march-6-2010.aspx The key to unlocking the ability of Windows PowerShell to create useful formulas is to leverage the static methods from the system.math class. You can easily see them by using the Get-Member cmdlet, as shown here: PS C:\> [math] | Get-Member -Static | Format-Table name, membertype -AutoSize Name            MemberType —-            ———- Abs                 Method Acos               Continue reading “#PowerShell mathematical calculations”