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