Install-SPSolution : A parameter cannot be found that matches parameter name 'CompatibilityLevel'.

when I use this command:

Install-SPSolution -Identity ADUserManagement.wsp  -GACDeployment -CompatibilityLevel  {14,15} -Force:$true

got this error:

Install-SPSolution : A parameter cannot be found that matches parameter name 'CompatibilityLevel'.
At C:\Users\xt\Documents\AddSoltuon.ps1:16 char:68
+     Install-SPSolution -Identity ADUserManagement.wsp  -GACDeployment -Compatibilit ...
+                                                                       ~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Install-SPSolution], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.SharePoint.PowerShell.SPCmdletInstallSolution
 
January 13th, 2014 5:33am

Is this working if you provide only 15 as CompatibilityLevel?

Install-SPSolution -Identity ADUserManagement.wsp  -GACDeployment -CompatibilityLevel 15 -Force:$true


Free Windows Admin Tool Kit Click here and download it now
January 13th, 2014 5:48am

got same error.
January 13th, 2014 6:26am

yes, same error.
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2014 6:38am

Check you powershell version, try running this command in V3 if it is running in V2

http://technet.microsoft.com/en-us/library/ee806878.aspx

http://stackoverflow.com/questions/13017734/how-to-load-powershell-ise-3-with-powershell-v2-inside

January 13th, 2014 6:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics