I need some information regarding the PowerShell commands. I have created one WSP, and while installing that WSP I need to add -WebApplication.(It's mandatory some times / some times not) So what factor/source is causing to force the command to add the -WebApplication in the install command.
Some times I don't need to add the -WebApplication.
Install-SPSolution -Identity Test.wsp -WebApplication http://pc07:0707 -GACDeployment