title: How to accept powershell input in MB [int]
body: <p>How can you force a user input to be in MB and not the default KB/Decimal?
  Let's say I have a function with <code>ValidateRange</code> min/max parameter. I would like the user to input numbers in MB and not KB, is that possible?</p>
  
  <p>Example:</p>
  
  <pre><code>Function Get-Bigfiles 
  { 
      param ( 
          [parameter(Mandatory=$true)] 
          [ValidateRange(1MB,100MB)] $Size 
      ) 
  
      Get-ChildItem C:\Windows\System32 | `
          Where-Object {$_.Length -gt $Size -and !$_.PSIscontainer} 
  } 
  </code></pre>