title: Powershell Converting String to Integer
body: <p>This is similar to my last question, however with a small change.
  Once again I cannot seem to overcome the conversion.</p>
  
  <pre><code>$myVar = "4MB"
  $myVarInt = ([convert]::ToInt32($myVar, 10))*1MB
  
  $myVarInt
  </code></pre>
  
  <p>Gives Error: Exception calling "ToInt32" with "2" argument(s): "Additional non-parsable characters are at the end of the string."</p>
  
  <p>I assume this is the quotes on the $myVar causing issue.
  How can I get this to work?</p>