How To Do Math and Arithmetic in PowerShell

Learn how to do math in PowerShell, from the basic arithmetic operators to the .NET Math class. Covers integer and floating-point division, exponents and square roots, rounding, precision, random numbers, and summing a collection with Measure-Object.

$sumupdated Aug 202626 examples

Mastering Windows with Tips and Tricks

Collection of Blog posts for Mastering Windows. This section covers topics from Windows WSL to legacy Windows XP and Batch scripting content.

updated Sep 2020

Removing ^M in imported Windows files

Learn how to quickly and easily handle files with newline and carriage return between linux, mac, and windows. This post will explain how to remove or replace the often annoying ^M character.

alias cvtCR="trupdated Sep 20202 examples