Solved

Powershell Sharepoint 2007

Posted on 2011-03-25
2
1,413 Views
Last Modified: 2012-06-21
Dear All,

I would like to know how can I manage Sharepoint 2007 from Powershell. Because I know for example to manage Server manager I import module ServerManager in Windows 2008 and Work Fine. But I don't know how to import module Sharepoint to Powershell v2.

I have in the same server:
Windows 2003 SP2 with Powershell V2
Sharepoint 2007 SP2

I would like manage Sharepoint2007 from Powershell and Activate a Feature from there.

Thanks in advance,
0
Comment
Question by:Gonzalo Becerra
2 Comments
 
LVL 16

Accepted Solution

by:
Dale Harris earned 500 total points
ID: 35217895
Unfortunately, MOSS 2007 and Powershell do not work well together.  Sharepoint 2010 and Sharepoint Foundations 2010 actually uses Powershell as it's management console, so you'll have a lot more luck there if you move to 2010.

There are a few basic things you can do, but mostly stsadm.exe is your best bet to do things in a script (batch file).

HTH,

Dale Harris
0
 
LVL 1

Author Closing Comment

by:Gonzalo Becerra
ID: 35218066
Thanks.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question