Multiplication Operator

Definition: Multiplies two numbers.


If you need to multiply two numbers in Windows PowerShell you can do what pretty much everyone who needs to multiply two numbers does: just use the asterisk (*) as the multiplication symbol. For example, this command multiplies 45 by 334 and stores the result in the variable $a:


$a = 45 * 334


For those few of you who didn’t bother to do this equation in your head, $ a shouldbe equal to this: