Wednesday, May 29, 2013

STSADM VS POWERSHELL SOLUTION DEPLOYMENT

PowerShell Deployments

So everyone is familar with STSADM command prompt and we have all learned to love it. So now we have PowerShell, so to get you started please have a look at the following links which are great resources to get you started for deploying a "WSP" Package using powershell.
There are many more resources available out there - but those are the two I decided to use. You can see the basic commands for deployment below:


Add Solution

ADD-SPSOLUTION [SOLUTION LOCATION]

Deploy Solution

INSTALL-SPSOLUTION -IDENTITY [SOLUTION NAME] -GACDEPLOYMENT -WEBAPPLICATION [URL]

You can also check out a few MSDN articles:


Hope these articles help you out :-)