Solved

Powershell Sharepoint 2007

Posted on 2011-03-25
2
1,423 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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