title: Enum like switch parameter in PowerShell
body: <p>I am using switch parameters in my PowerShell script in this fashion.</p>
  
  <pre><code>param(
      [switch] $Word,
      [switch] $Excel,
      [switch] $powerpoint,
      [switch] $v2007,
      [switch] $v2010,
      [switch] $x86,
      [switch] $x64,
  )
  </code></pre>
  
  <p>I am trying to figure out any neat way to have it more enum style.
  As anyone might guess, I would want the user to choose between word, excel and powerpoint.
  And between x2007 and v2010.</p>
  
  <p>Is there a neat way to get input params enum style?</p>
  
  <p>I am new to PowerShell. So if this sounds like that I don't know something obvious, then please point me to some link where I can read about it.</p>