Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is it possible to install a web service to sharepoint 2010 using powershell rather than using a solution package? I'm currently doing this via a mapped folder/ISAPI approach inside a feature but would like to script this with powershell.

kind regards

share|improve this question
add comment

2 Answers 2

If you have it written in a feature then you can certainly install and activate the feature through powershell.

http://msdn.microsoft.com/en-us/library/ms442691.aspx

share|improve this answer
add comment

Do not do that!!

There are many considerations that you need to take into account: multiple web front end servers, proper web.config updates, security, etc. The solution deployment framework in SharePoint already handles all of the issues.

What reason do you have for not using the framework?

share|improve this answer
    
Good point - I had completely overlooked multiple WFE scenarios! (Bad me) - You do indeed need a pretty good reason not use WSPs. –  James Love Aug 31 '10 at 15:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.