title: Powershell Multi-choice Menu and Sub menu
body: <p>I coming from a vb script back ground in to the world of powershell
  currently i am in the process of developing a console application with
  a main menu and multiple-sub main menus.</p>
  
  <p>i would like the menu system to work like a cascade effect for example:</p>
  
  <pre><code>---------------------------------------------------------------------
                       Main Menu 
  clear
  write-host "A"
  write-host "B"
  write-host "C"
  write-host "D"
  
  #When the user choose a letter the use would then 
  #forwarded to the letter A menu
  
  $Choice = read-host ''"Please enter your Choice"
  
  --------------------------------------------------------
                       Menu A
  #If the user selects any of the options available from (A-Test1 to A-Test3) in #Menu A for example A-Test1:
  #The menu A-Test1 will show up and  display a menu of a list of
  #actions to perform or return the user back to the menu A.
  
  write-host "A-Test1"
  write-host "A-Test2"
  write-host "A-Test3"
  write-host "A-Test4"
  write-host "Exit " # Exit will return the user back to the main menu
                     # To select another choice.
  $select = read-host ''"Please select from menu A:"
  </code></pre>