title: SharePoint 2010: Problem trying to install web part using power shell
body: <p>I'm trying to deploy my first web part on 2010. I developed a web part using VS2008 and tested it on SP2007.</p>
  
  <p>I copied the CAB to the 2010 server and tried to use the power shell to install it:</p>
  
  <pre><code>PS C:\Users\sa_portalt&gt; Install-SPWebPartPack -LiteralPath "c:\transfer\webparts\redirectwebpart.cab" -Name "RedirectWebPart"
  Install-SPWebPartPack : Parameter set cannot be resolved using the specified named parameters.
  At line:1 char:22
  + Install-SPWebPartPack &lt;&lt;&lt;&lt;  -LiteralPath "c:\transfer\webparts\redirectwebpart.cab" -Name "RedirectWebPart"
      + CategoryInfo          : InvalidArgument: (:) [Install-SPWebPartPack], ParameterBindingException
      + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.SharePoint.PowerShell.SPCmdletInstallWebPartPack
  </code></pre>
  
  <p>What am I doing wrong? Is this the right way to install web parts?</p>