title: How to pin to start menu using PowerShell
body: <p>I can pin some programs to taskbar on Win7 using PowerShell.</p>
  
  <pre class="lang-c prettyprint-override"><code>$shell = new-object -com "Shell.Application"  
  $folder = $shell.Namespace('C:\Windows')    
  $item = $folder.Parsename('notepad.exe')
  $verb = $item.Verbs() | ? {$_.Name -eq 'Pin to Tas&amp;kbar'}
  if ($verb) {$verb.DoIt()}
  </code></pre>
  
  <p>How do I modify the above code to pin a program to the Start menu?</p>