It seems like whenever I am developing a web part and I "Deploy" it from Visual Studio, everything gets deployed and works exactly as I would expect.
When I take my WSP and try to install it to a different environment using Management Shell it seems like it always requires a little tweaking to get everything working right.
Does anyone know if there is a set of Management Shell commands that I can execute that would exactly reproduce the Visual Studio Deployment process for a Farm Solution?
Currently I use these two:
Add-SPSolution C:\temp\mySolution.wsp
Followed by
Install-SPSolution -Identity mySolution.wsp -WebApplication http://sp-dev:10000 -GACDeployment
Should I be doing anything else?